Skip to content

Commit

Permalink
Attempt to fix coverage by directing its output
Browse files Browse the repository at this point in the history
  • Loading branch information
victorquinn committed Aug 31, 2019
1 parent 29565f2 commit a1cb7ac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Expand Up @@ -11,10 +11,10 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: npm install, build, and test
- name: install and coverage
run: |
npm install
npm run coverage
yarn
yarn run coverage
env:
CI: true

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Expand Up @@ -15,9 +15,9 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
- name: yarn install and test
run: |
npm install
npm test
yarn
yarn run test
env:
CI: true
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",
"coverage": "nyc npm test && nyc report --reporter=text-lcov --temp-dir=./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 a1cb7ac

Please sign in to comment.