aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHusam Salhab <47015061+hsalhab@users.noreply.github.com>2020-07-14 10:10:18 -0400
committerGitHub <noreply@github.com>2020-07-14 10:10:18 -0400
commit3547018e9f803a5ff747126e16b9ef559c3f95cf (patch)
tree6041b64fcedfb6885dafa1ee496641b85b34783a /.github
parent5dee1e585353b6d7407f521dfa9186dbf10e8226 (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.yml12
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
+