Skip to content

Commit

Permalink
codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
epomatti committed Aug 3, 2020
1 parent 7897f44 commit 332e094
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
node-version: 12
- run: npm ci
- run: npm test
- run: bash <(curl -s https://codecov.io/bash)
env:
NODE_AUTH_TOKEN: ${{secrets.CODECOV_TOKEN}}

publish-npm:
needs: build
Expand All @@ -27,11 +30,4 @@ jobs:
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
upload-codecov:
needs: build
runs-on: ubuntu-latest
steps:
- run: bash <(curl -s https://codecov.io/bash)
env:
NODE_AUTH_TOKEN: ${{secrets.CODECOV_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 332e094

Please sign in to comment.