Skip to content

Commit 612d4af

Browse files
committed
chore(ci): code coverage with token
1 parent 2b35d46 commit 612d4af

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,9 @@ jobs:
3333
run: yarn test:coverage
3434

3535
- name: Upload coverage to Codecov
36-
uses: codecov/codecov-action@v3
36+
uses: codecov/codecov-action@v4
37+
with:
38+
fail_ci_if_error: true
39+
verbose: true
40+
env:
41+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,8 @@ jobs:
3636

3737
- name: Upload coverage to Codecov
3838
uses: codecov/codecov-action@v4
39+
with:
40+
fail_ci_if_error: true
41+
verbose: true
42+
env:
43+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)