diff options
author | Husam Salhab <47015061+hsalhab@users.noreply.github.com> | 2020-07-14 10:10:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 10:10:18 -0400 |
commit | 3547018e9f803a5ff747126e16b9ef559c3f95cf (patch) | |
tree | 6041b64fcedfb6885dafa1ee496641b85b34783a /.github | |
parent | 5dee1e585353b6d7407f521dfa9186dbf10e8226 (diff) |
Add linter to Github Actions (#18)
* added lint.yml
* updated to run on PRs
* uses yarn lint
* fixed linting error
* fixed some more linting
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lint.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..ba1d0551 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,12 @@ +name: Lint +on: pull_request +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install modules + run: yarn + - name: Run ESLint + run: yarn lint + |