Skip to content

Commit 24ecb4b

Browse files
committed
ci: fix ci error
1 parent a19fe51 commit 24ecb4b

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ jobs:
1717
steps:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
20+
21+
- name: Install pnpm
22+
uses: pnpm/action-setup@v4
23+
with:
24+
version: latest
2025

2126
- name: Setup Node.js ${{ matrix.node-version }}
2227
uses: actions/setup-node@v4
2328
with:
2429
node-version: ${{ matrix.node-version }}
2530
cache: 'pnpm'
26-
27-
- name: Install pnpm
28-
uses: pnpm/action-setup@v4
29-
with:
30-
version: latest
31-
31+
3232
- name: Install dependencies
3333
run: pnpm install
3434

@@ -45,9 +45,9 @@ jobs:
4545
run: pnpm run test:cov
4646
if: matrix.node-version == '20.x'
4747

48-
- name: Upload coverage to Coveralls
49-
uses: coverallsapp/github-action@v2
48+
- name: Upload coverage to codecov
49+
uses: codecov/codecov-action@v5
5050
if: matrix.node-version == '20.x'
5151
with:
52-
github-token: ${{ secrets.GITHUB_TOKEN }}
52+
github-token: ${{ secrets.CODECOV_TOKEN }}
5353
path-to-lcov: ./coverage/lcov.info

0 commit comments

Comments
 (0)