This commit is contained in:
Oliver Davies 2020-03-21 21:13:02 +00:00
parent 792d4fdeda
commit 8e78daf32f

18
.github/workflows/lint.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Lint code
on:
push:
jobs:
lint:
steps:
- use: actions/checkout@v1
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/setup-node@v1
- run: npm ci
- run: npm lint