Skip to content

Commit 8cb70b4

Browse files
committed
chore: prefer node:test; normalize
1 parent a8a0888 commit 8cb70b4

4 files changed

Lines changed: 3321 additions & 8544 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,18 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [12.x, 14.x, 16.x]
16+
node-version: [18.x, 20.x, 22.x, 24.x]
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v1
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424
- run: npm ci
25-
- run: npm run eslint
26-
- run: npm run test -- --coverage
27-
- run: npx codecov
25+
- run: npm run lint
26+
- run: npm run test:coverage
27+
- name: Upload coverage to Codecov
28+
uses: codecov/codecov-action@v5
29+
with:
30+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)