Skip to content

Commit

Permalink
Added coveralls to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
warerebel committed Mar 30, 2022
1 parent 0ba2d31 commit ee141f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/node.js.yml
Expand Up @@ -30,3 +30,7 @@ jobs:
- run: npm run lint
- run: npm run build --if-present
- run: npm run coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -10,7 +10,7 @@
"prepare": "tsc",
"build": "tsc",
"test": "mocha -r ts-node/register **/*.spec.ts",
"coverage": "nyc mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts"
"coverage": "nyc --reporter=lcov --reporter=text mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts"
},
"author": "Chris Lount <chris.lount@warerebel.com>",
"license": "GPL-3.0",
Expand Down

0 comments on commit ee141f3

Please sign in to comment.