Skip to content

Commit af39614

Browse files
committed
ci: fix ci error
1 parent a19fe51 commit af39614

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [18.x, 20.x, 22.x]
15+
node-version: [20.x, 22.x, 24.x]
1616

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,8 @@ 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 }}
53-
path-to-lcov: ./coverage/lcov.info
52+
github-token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)