Skip to content

Commit

Permalink
Now dumping coverage to a file
Browse files Browse the repository at this point in the history
  • Loading branch information
victorquinn committed Aug 31, 2019
1 parent a1cb7ac commit 82b6377
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: install and coverage
run: |
yarn
yarn run coverage
yarn coverage
env:
CI: true

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -35,7 +35,7 @@
"pump": "^1.0.2"
},
"scripts": {
"coverage": "nyc npm test && nyc report --reporter=text-lcov --temp-dir=./coverage/lcov.info",
"coverage": "nyc npm test && nyc report --reporter=text-lcov --report-dir=./coverage > ./coverage/lcov.info",
"docs": "docpress build",
"docs-publish": "git-update-ghpages -e",
"lint": "eslint --ignore-path .gitignore chance.js",
Expand Down

0 comments on commit 82b6377

Please sign in to comment.