Skip to content

Commit

Permalink
fix(ci): codecov report (#412)
Browse files Browse the repository at this point in the history
* ci: define coverage file

* fix ci
  • Loading branch information
songkg7 authored Dec 20, 2024
1 parent 3ef76d7 commit 2fe9d98
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@main
- name: Set up Node 18
uses: actions/setup-node@v4
with:
Expand All @@ -22,12 +22,10 @@ jobs:
run: npm install
- name: Run tests and collect coverage
run: npm run test

- uses: actions/checkout@main
- uses: codecov/codecov-action@v5
with:
# fail_ci_if_error: true # optional (default = false)
# files: ./coverage1.xml,./coverage2.xml # optional
files: ./coverage/cobertura-coverage.xml # optional
# flags: unittests # optional
# name: codecov-umbrella # optional
token: ${{ secrets.CODECOV_TOKEN }} # required
Expand Down

0 comments on commit 2fe9d98

Please sign in to comment.