lint: run linter using GH Actions
This commit is contained in:
parent
959d61468e
commit
9ec3faa6b3
|
@ -0,0 +1,15 @@
|
|||
name: Linter
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
run-linter:
|
||||
name: Run Linter
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
- run: npm install
|
||||
- run: npm run lint
|
Loading…
Reference in New Issue