We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c72e00d commit a578d22Copy full SHA for a578d22
1 file changed
.github/workflows/ci.yml .github/workflows/ci-coverage.yml.github/workflows/ci.yml renamed to .github/workflows/ci-coverage.yml
@@ -1,11 +1,10 @@
1
-name: CI
2
-
3
-on:
4
- push:
5
- pull_request:
6
+name: CI Coverage
+on: [push, pull_request]
+permissions:
+ contents: read
+ id-token: write
7
jobs:
8
- test:
+ coverage:
9
runs-on: ubuntu-latest
10
steps:
11
- uses: actions/checkout@v4
@@ -15,8 +14,8 @@ jobs:
15
14
with: { node-version: 20, cache: "pnpm" }
16
- run: pnpm install --frozen-lockfile
17
- run: pnpm vitest run --coverage
18
19
- uses: codecov/codecov-action@v5
20
with:
21
files: ./coverage/lcov.info
22
fail_ci_if_error: true
+ token: ${{ secrets.CODECOV_TOKEN }}
0 commit comments