Skip to content

Commit 768eb69

Browse files
authored
build: upgrade codecov from v3 to v3, use secret (#692)
Per https://openedx.atlassian.net/wiki/spaces/COMM/pages/3438280709/Adding+Codecov
1 parent fce8a3b commit 768eb69

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,7 @@ jobs:
3939
run: npm run docs
4040

4141
- name: Run Coverage
42-
uses: codecov/codecov-action@v3
42+
uses: codecov/codecov-action@v4
43+
with:
44+
fail_ci_if_error: true
45+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/manual-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ jobs:
2727
- name: Test
2828
run: npm run test
2929
- name: Coverage
30-
uses: codecov/codecov-action@v3
30+
uses: codecov/codecov-action@v4
31+
with:
32+
fail_ci_if_error: false
33+
token: ${{ secrets.CODECOV_TOKEN }}
3134
- name: Build
3235
run: npm run build
3336
# NPM expects to be authenticated for publishing. This step will fail CI if NPM is not authenticated

0 commit comments

Comments
 (0)