feat: Use GitHub actions for linting (#1927)

This commit is contained in:
Francis Gulotta 2019-08-30 21:11:42 -04:00 • committed by GitHub
parent 3a132792e7
commit fb05c2d80f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 2 deletions

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

@ -0,0 +1,17 @@
name: Lint
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12
- name: npm install
run: npm install
- name: npm run lint
run: npm run lint

View file

@ -69,7 +69,6 @@ install:
- npm run rebuild
script:
- npm run lint
- npm test
# if publishing, do it

View file

@ -47,7 +47,6 @@ build_script:
- npm run rebuild
test_script:
- npm run lint
- npm test
- ps: >