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 5454
5555 - name : Run tests
5656 shell : bash
57- run : npm run test
57+ run : npm run test:ci
5858
5959 - name : Upload code coverage
6060 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
Original file line number Diff line number Diff line change 7070
7171 - name : Run tests
7272 shell : bash
73- run : npm run test
73+ run : npm run test:ci
7474
7575 - name : Upload code coverage
7676 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
Original file line number Diff line number Diff line change 5050 ],
5151 "scripts" : {
5252 "lint" : " standard" ,
53- "test" : " c8 --check-coverage --statements 100 mocha"
53+ "test" : " mocha" ,
54+ "test:ci" : " c8 --reporter=lcovonly --reporter=text --check-coverage --statements 100 npm test" ,
55+ "test:cov" : " c8 --reporter=html --reporter=text npm test"
5456 }
5557}
You can’t perform that action at this time.
0 commit comments