Skip to content

Commit

Permalink
trying built-in coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
fearphage committed Aug 27, 2019
1 parent cf0f402 commit 8525f4d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ jobs:
- name: npm test
run: npm run test-node

- name: generate coverage
run: npm run test-coverage -- --chrome $(which google-chrome-stable) --allow-chrome-as-root
if: matrix.node-version == 10
- name: code coverage
run: |
npm run test-coverage -- --chrome $(which google-chrome-stable) --allow-chrome-as-root
cat ./coverage/lcov.info | npx coveralls lib
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
if: matrix.node-version == 10

0 comments on commit 8525f4d

Please sign in to comment.