Skip to content

Commit

Permalink
Upload coverage artifact to codecov.
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-lee committed May 1, 2024
1 parent 0e39e83 commit f5ac8b7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,20 @@ jobs:
uses: collectionspace/.github/.github/workflows/check-js.yml@main
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

upload-coverage:
name: Upload coverage report
needs: check
runs-on: ubuntu-latest

steps:
- name: Download coverage report artifact
uses: actions/download-artifact@v4
with:
name: coverage

- name: Upload to codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

0 comments on commit f5ac8b7

Please sign in to comment.