Skip to content

Commit fb05c2d

Browse files
authored
feat: Use GitHub actions for linting (#1927)
1 parent 3a13279 commit fb05c2d

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.github/workflows/lint.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Lint
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- name: Use Node.js 12
11+
uses: actions/setup-node@v1
12+
with:
13+
node-version: 12
14+
- name: npm install
15+
run: npm install
16+
- name: npm run lint
17+
run: npm run lint

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ install:
6969
- npm run rebuild
7070

7171
script:
72-
- npm run lint
7372
- npm test
7473

7574
# if publishing, do it

appveyor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ build_script:
4747
- npm run rebuild
4848

4949
test_script:
50-
- npm run lint
5150
- npm test
5251

5352
- ps: >

0 commit comments

Comments
 (0)