Skip to content

Commit

Permalink
Update collect coverage action to rely on v4 (#1588)
Browse files Browse the repository at this point in the history
* fix: update collect coverage action to rely on v4

* fix: upgrade upload artifact action

* chore: update ci job to override artifact upload
  • Loading branch information
notaphplover authored Oct 22, 2024
1 parent db2ca06 commit 6e97383
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ jobs:
- name: Run tests
run: npm test --coverage
- name: Store code coverage report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage
overwrite: true
path: coverage/

Build:
Expand Down Expand Up @@ -61,6 +62,7 @@ jobs:

Upload_Coverage_Report:
name: Upload coverage report to codecov
environment: CI
needs: [Testing]
runs-on: ubuntu-latest
steps:
Expand All @@ -74,7 +76,8 @@ jobs:
name: coverage
path: coverage/
- name: Codecov Upload
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
directory: coverage/
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 6e97383

Please sign in to comment.