File tree Expand file tree Collapse file tree 4 files changed +23
-367
lines changed Expand file tree Collapse file tree 4 files changed +23
-367
lines changed Original file line number Diff line number Diff line change
1
+ name : coverage
2
+ on : [push, pull_request]
3
+ jobs :
4
+ build :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - uses : actions/checkout@v1
8
+ - name : Use Node.js 10.x
9
+ uses : actions/setup-node@v1
10
+ with :
11
+ node-version : 14.x
12
+ - run : npm ci
13
+ - run : npm run coverage
14
+ - run : npm run coveralls
15
+ - name : Upload results
16
+ uses : coverallsapp/github-action@master
17
+ with :
18
+ github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
name : test
2
- on : [push]
2
+ on : [push, pull_request ]
3
3
jobs :
4
4
build :
5
5
runs-on : ubuntu-latest
13
13
with :
14
14
node-version : ${{ matrix.node-version }}
15
15
- run : npm ci
16
- - run : npm test
16
+ - run : npm run lint && npm test
17
17
env :
18
18
CI : true
You can’t perform that action at this time.
0 commit comments