test(utils): add duplicate alert test for handleUncaughtExceptions an… #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Coverage Test | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18.x' | |
- run: npm install | |
- run: npm test -- --coverage | |
- run: npm install coveralls --save-dev | |
- run: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_ERRSOLE_TEST_TOKEN }} |