Skip to content

Commit

Permalink
Add Codecov Token to NPM Test Action (#68)
Browse files Browse the repository at this point in the history
# Add Codecov Token to NPM Test Action

## ⚙️ Release Notes 
- Add Codecov Token to NPM Test Action


### Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
  • Loading branch information
PSchmiedmayer authored May 17, 2024
1 parent 40eadb0 commit 88a57f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/npm-test-and-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
required: false
type: string
default: '18'
secrets:
token:
description: 'The CodeCov token used for private repositories'
required: false

jobs:
testandcoverage:
Expand All @@ -35,3 +39,5 @@ jobs:
run: npm test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.token }}

0 comments on commit 88a57f9

Please sign in to comment.