Skip to content

Commit 7bf981b

Browse files
committed
ci: upload tests + rotate token
1 parent f77447f commit 7bf981b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,16 @@ jobs:
107107
- name: 🧪 Component tests
108108
run: pnpm test:nuxt run --coverage --reporter=junit --outputFile=test-report.junit.xml
109109

110-
- name: Upload coverage reports to Codecov
110+
- name: ⬆︎ Upload test results to Codecov
111+
if: ${{ !cancelled() }}
112+
uses: codecov/test-results-action@v1
113+
with:
114+
token: ${{ secrets.CODECOV_TOKEN }}
115+
116+
- name: ⬆︎ Upload coverage reports to Codecov
111117
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
112118
env:
113-
CODECOV_TOKEN: 17b4bed9-d407-4ce2-9c10-2ccd4328a1d9
119+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
114120

115121
browser:
116122
name: 🖥️ Browser tests

0 commit comments

Comments
 (0)