Skip to content

Commit a955585

Browse files
committed
ci: update actions
Signed-off-by: Chen Su <ghosind@gmail.com>
1 parent 7dbca5c commit a955585

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212

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

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323
- run: npm ci
@@ -26,4 +26,6 @@ jobs:
2626
env:
2727
CI: true
2828
- name: Upload coverage reports
29-
run: npx codecov -f coverage/*.json
29+
uses: codecov/codecov-action@v5
30+
env:
31+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)