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 2, 2024
1 parent 38d9a7f commit c78f525
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/ci-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,20 @@ jobs:
check:
name: Check code
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 c78f525

Please sign in to comment.