Skip to content

Commit a578d22

Browse files
committed
chore: upd ci workflow
1 parent c72e00d commit a578d22

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
name: CI
2-
3-
on:
4-
push:
5-
pull_request:
6-
1+
name: CI Coverage
2+
on: [push, pull_request]
3+
permissions:
4+
contents: read
5+
id-token: write
76
jobs:
8-
test:
7+
coverage:
98
runs-on: ubuntu-latest
109
steps:
1110
- uses: actions/checkout@v4
@@ -15,8 +14,8 @@ jobs:
1514
with: { node-version: 20, cache: "pnpm" }
1615
- run: pnpm install --frozen-lockfile
1716
- run: pnpm vitest run --coverage
18-
1917
- uses: codecov/codecov-action@v5
2018
with:
2119
files: ./coverage/lcov.info
2220
fail_ci_if_error: true
21+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)