5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 08:06:54 +00:00

ci: add eslint check to CI workflow

This commit is contained in:
Wagner Santos 2021-02-15 06:55:20 -03:00
parent 51913c302c
commit 574a6716ee

View file

@ -2,8 +2,8 @@ name: CI
on: [push]
jobs:
test:
name: Test
sanity-checks:
name: Sanity Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -19,9 +19,10 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- run: npm install
- run: npm run lint
- run: npm test -- --ci --coverage
release:
needs: test
needs: sanity-checks
runs-on: ubuntu-latest
if: "github.ref == 'refs/heads/master' && !contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
env: