Skip to content

Commit

Permalink
fix(build): Adding the configuration for coveralls (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
helio-frota committed Dec 16, 2020
1 parent 3c733dd commit 74dbf89
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/nodejs-ci-action.yml
Expand Up @@ -24,5 +24,20 @@ jobs:
- run: npm ci
- run: npm test
- run: npx @pkgjs/support validate
- run: echo 'repo_token:' ${{ secrets.COVERALLS_GITHUB_TOKEN }} > ./.coveralls.yml
- run: node_modules/nyc/bin/nyc.js report --reporter=text-lcov | node_modules/coveralls/bin/coveralls.js
- run: node_modules/nyc/bin/nyc.js report --reporter=lcovonly
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.node-version }}
parallel: true

finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true

0 comments on commit 74dbf89

Please sign in to comment.