Skip to content

Commit

Permalink
chore(ci): update npm script 'test-cov' to generate lcov.info
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin committed Dec 4, 2020
1 parent 00a76ba commit 0048835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Install Dependencies
run: npm install
- name: Coverage
run: nyc --reporter=lcov npm run test
run: npm run test-cov
env:
CI: true
- name: Coveralls
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"eslint": "eslint .",
"test": "mocha test/index.js",
"test-cov": "nyc npm run test"
"test-cov": "nyc --reporter=lcov npm run test"
},
"directories": {
"lib": "./lib"
Expand Down

0 comments on commit 0048835

Please sign in to comment.