Skip to content

Commit

Permalink
chore: Update codecov uploading (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
nev21 authored Sep 23, 2024
1 parent 407fdad commit 03439af
Show file tree
Hide file tree
Showing 5 changed files with 1,208 additions and 876 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,16 @@ jobs:
- name: Unit tests
run: node common/scripts/install-run-rush.js test --verbose
timeout-minutes: 15

- name: Report Coverage
run: npm run codecov

- name: Upload Coverage
uses: codecov/codecov-action@v2
with:
files: ./coverage/coverage-final.json
token: ${{ secrets.CODECOV_TOKEN }}

- name: Size tests
if: matrix.node == 20 || matrix.node == 18 # Only run size tests on the latest Node.js versions
run: npm run size
Loading

0 comments on commit 03439af

Please sign in to comment.