File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 54
54
55
55
- name : Run tests
56
56
shell : bash
57
- run : npm run test
57
+ run : npm run test:ci
58
58
59
59
- name : Upload code coverage
60
60
uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
Original file line number Diff line number Diff line change 70
70
71
71
- name : Run tests
72
72
shell : bash
73
- run : npm run test
73
+ run : npm run test:ci
74
74
75
75
- name : Upload code coverage
76
76
uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
Original file line number Diff line number Diff line change 51
51
],
52
52
"scripts" : {
53
53
"lint" : " standard" ,
54
- "test" : " c8 --check-coverage --statements 100 mocha"
54
+ "test" : " mocha" ,
55
+ "test:ci" : " c8 --reporter=lcovonly --reporter=text --check-coverage --statements 100 npm test" ,
56
+ "test:cov" : " c8 --reporter=html --reporter=text npm test"
55
57
}
56
58
}
You can’t perform that action at this time.
0 commit comments