Skip to content

Commit af6f648

Browse files
committed
coverage badge
1 parent 37659d3 commit af6f648

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,4 @@ jobs:
1616
- name: Run Tests
1717
run: yarn test
1818
- name: Make Coverage Report
19-
run: yarn coverage
20-
- name: Coveralls
21-
uses: coverallsapp/github-action@v2
22-
with:
23-
github-token: ${{ secrets.GITHUB_TOKEN }}
19+
run: yarn report

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"scripts": {
1919
"build": "tsc",
2020
"test": "nyc -r text -r html ts-mocha tests/*.test.ts",
21-
"coverage": "nyc report --reporter=text-lcov"
21+
"report": "nyc report -r text-lcov | node ./node_modules/coveralls/bin/coveralls.js"
2222
},
2323
"dependencies": {
2424
"@inquirer/prompts": "7.1.0"

0 commit comments

Comments
 (0)