This repository was archived by the owner on Jan 19, 2022. It is now read-only.
File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 16
16
# coverage will need to be adjusted.
17
17
#
18
18
# ###############################################################################
19
- name : Node CI
19
+ name : node-ci
20
20
21
21
on : [push, pull_request]
22
22
60
60
# Simply run the tests for the project.
61
61
# ###############################################################################
62
62
- name : Run tests
63
- run : npm test
63
+ if : github.event_name != 'push' || matrix.node-version != '12.x' || matrix.os != 'ubuntu-latest'
64
+ run : npm test -- --no-coverage
64
65
65
66
# ###############################################################################
66
67
# Run coverage check
76
77
# ###############################################################################
77
78
- name : Run coverage report
78
79
if : github.event_name == 'push' && matrix.node-version == '12.x' && matrix.os == 'ubuntu-latest'
79
- run : npm run coverage
80
+ run : npm test
80
81
env :
81
82
# The environment variable name is leveraged by `tap`
82
83
COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
Original file line number Diff line number Diff line change 9
9
"postversion" : " npm publish" ,
10
10
"postpublish" : " git push origin --follow-tags" ,
11
11
"lint" : " standard" ,
12
- "test" : " tap --no-coverage" ,
13
- "coverage" : " tap"
12
+ "test" : " tap"
14
13
},
15
14
"devDependencies" : {
16
15
"nock" : " ^12.0.1" ,
You can’t perform that action at this time.
0 commit comments