diff options
author | Joas Schilling <coding@schilljs.com> | 2019-12-05 23:57:01 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-12-06 00:13:50 +0300 |
commit | 6bcecbe2559642150b72be4306d534846461031f (patch) | |
tree | d3270db4fe384bd7b6049606bb2489bfb693c3a0 /.github | |
parent | bf6aa22f4f4e36170dc685b75dd9295497a18b0d (diff) |
Run NPM linters as workflows
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lint.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 69b431295..6e64826af 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -36,3 +36,20 @@ jobs: run: "find css -name '*.css' -exec $(which stylelint) -f verbose {} \\;" - name: Lint SCSS files run: "find css -name '*.scss' -exec $(which stylelint) -f verbose {} \\;" + + eslint: + runs-on: ubuntu-latest + name: ESLint + steps: + - name: Checkout + uses: actions/checkout@master + - name: Set up Node + uses: actions/setup-node@v1 + with: + node-version: 12.x + - name: NPM install + run: npm i + - name: ESLint + run: npm run lint + - name: ESLint + run: npm run stylelint |