Skip to content

Commit 430d173

Browse files
committed
Update GHA workflow
1 parent 75aad0a commit 430d173

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
node-version: [^12.22, ^14.17, ^16.4, ^17]
16+
node-version: [^14.19, ^16.15, ^18]
1717
os: [ubuntu-latest, windows-latest]
1818
steps:
19-
- uses: actions/checkout@v2
20-
- uses: actions/setup-node@v2
19+
- uses: actions/checkout@v3
20+
- uses: actions/setup-node@v3
2121
with:
2222
node-version: ${{ matrix.node-version }}
23-
- run: npm install --global npm@8
23+
- name: Install npm@8 for Node.js 14
24+
if: matrix.node-version == '^14.19'
25+
run: npm install --global npm@^8
2426
- run: npm install --no-audit
2527
- run: npm test
2628
- uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)