Skip to content

Commit a23a96e

Browse files
authored
chore: update Node.js in CI workflows (nodejs#584)
- Use latest LTS for lint job - Add version 17.x to test matrix
1 parent f28ec2d commit a23a96e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/nodejs.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v2
15-
- name: Use Node.js 14
15+
- name: Use latest Node.js LTS
1616
uses: actions/setup-node@v2
1717
with:
18-
node-version: 14.x
18+
node-version: lts/*
1919
- name: Install dependencies
2020
run: npm install
2121
- name: Lint
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
node-version: [12.x, 14.x, 16.x]
29+
node-version: [12.x, 14.x, 16.x, 17.x]
3030
os: [ubuntu-latest, macOS-latest, windows-latest]
3131
runs-on: ${{ matrix.os }}
3232
steps:

0 commit comments

Comments
 (0)