Browse Source

Simplify coverage report

pull/979/head
Vitaly Puzrin 5 months ago
parent
commit
2c8922c0a1
  1. 3
      .github/workflows/ci.yml
  2. 4
      package.json

3
.github/workflows/ci.yml

@ -28,9 +28,6 @@ jobs:
- name: Test
run: npm test
- name: Create coverage report
run: npm run report-coveralls
- name: Upload coverage report to coveralls.io
uses: coverallsapp/github-action@master
with:

4
package.json

@ -28,9 +28,7 @@
},
"scripts": {
"lint": "eslint --ext js --ext mjs .",
"test": "npm run lint && c8 mocha && node support/specsplit.mjs",
"coverage": "npm run test && c8 report --reporter html",
"report-coveralls": "c8 --reporter=lcov mocha",
"test": "npm run lint && c8 -r text -r html -r lcov mocha && node support/specsplit.mjs",
"doc": "node support/build_doc.mjs",
"gh-doc": "npm run doc && gh-pages -d apidoc -f",
"demo": "npm run lint && node support/build_demo.mjs",

Loading…
Cancel
Save