Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Commit

Permalink
feat: add codecov to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
joolfe committed Jul 29, 2020
1 parent 3c6460e commit c34d5ce
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ jobs:
- run: npm ci
- run: npm run lint
- run: npm test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/lcov.info
flags: unittests
name: codecov-upload
fail_ci_if_error: true
publish:
if: ${{ github.ref == 'refs/heads/master' }}
needs: build
Expand Down

0 comments on commit c34d5ce

Please sign in to comment.