Skip to content

Commit 0ac6840

Browse files
authored
Merge pull request #437 from arbrandes/update-codecov
build: Update codecov and use token
2 parents 17b9710 + 26a17bf commit 0ac6840

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,7 @@ jobs:
3333
- name: i18n_extract
3434
run: npm run i18n_extract
3535
- name: Coverage
36-
uses: codecov/codecov-action@v3
36+
uses: codecov/codecov-action@v4
37+
with:
38+
token: ${{ secrets.CODECOV_TOKEN }}
39+
fail_ci_if_error: true

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ jobs:
3030
- name: i18n_extract
3131
run: npm run i18n_extract
3232
- name: Coverage
33-
uses: codecov/codecov-action@v3
33+
uses: codecov/codecov-action@v4
34+
with:
35+
token: ${{ secrets.CODECOV_TOKEN }}
36+
fail_ci_if_error: false
3437
- name: Build
3538
run: npm run build
3639
- name: Release

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"snapshot": "fedx-scripts jest --updateSnapshot",
1414
"start": "fedx-scripts webpack-dev-server --progress",
1515
"start:with-theme": "paragon install-theme && npm start && npm install",
16-
"test": "fedx-scripts jest"
16+
"test": "fedx-scripts jest --coverage"
1717
},
1818
"files": [
1919
"/dist"

0 commit comments

Comments
 (0)