Skip to content

Commit 4205179

Browse files
committed
ci: fix ci error
1 parent 2882ab0 commit 4205179

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ jobs:
4646
- run: pnpm test && pnpm coverage
4747
env:
4848
CI: true
49-
- name: Upload coverage to Codecov
50-
uses: codecov/codecov-action@v2
51-
# with:
52-
# directory: ./coverage/reports/
53-
# files: ./coverage1.xml,./coverage2.xml
49+
- name: "Upload coverage to Codecov"
50+
uses: codecov/codecov-action@v4
51+
with:
52+
fail_ci_if_error: true # optional (default = false)
53+
verbose: true # optional (default = false)
54+
env:
55+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)