File tree Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Original file line number Diff line number Diff line change 1
- name : Validation
1
+ name : Lint and Tests
2
2
3
3
on : push
4
4
5
5
jobs :
6
- lint :
7
- name : Linting
8
- runs-on : ubuntu-latest
9
- steps :
10
- - uses : actions/checkout@master
11
- - name : Use Node.js 12.x
12
- uses : actions/setup-node@v1
13
- with :
14
- node-version : 12.x
15
- - name : Install dependencies
16
- run : |
17
- npm install
18
- - name : ESLint
19
- run : npm run lint
20
-
21
- test :
22
- name : Run unit tests
6
+ validation :
23
7
runs-on : ubuntu-latest
24
8
steps :
25
9
- uses : actions/checkout@master
30
14
-
uses :
bahmutov/[email protected]
31
15
- name : Install dependencies
32
16
run : npm install
33
- - name : Mocha
17
+ - name : Lint
18
+ run : npm run lint
19
+ - name : Tests
34
20
run : npm run test:only
35
21
- name : Upload coverage to Codecov
36
22
uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments