Skip to content

Commit

Permalink
Add coveralls integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr Borisov committed May 17, 2024
1 parent cda0401 commit fe46cad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ jobs:
- run: npm run build --if-present
- run: npm test
- run: npm run lint

- name: Coveralls
uses: coverallsapp/github-action@v2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
],
"scripts": {
"watch": "yarn jest --watch",
"test": "jest --forceExit --runInBand --coverage --detectOpenHandles",
"test": "jest --forceExit --runInBand --coverage --detectOpenHandles && coveralls < ./coverage/lcov.info",
"lint": "eslint-ci src/*.js __tests__/*.js"
},
"jest": {
Expand Down

0 comments on commit fe46cad

Please sign in to comment.