Skip to content

Commit b658992

Browse files
authored
Merge pull request #968 from bertdeblock/update-node-support
Update Node support (drop v16, test against v20 and v21)
2 parents 8fca8fc + c7cae7a commit b658992

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v3
2222
- uses: actions/setup-node@v3
2323
with:
24-
node-version: 16
24+
node-version: 18
2525

2626
- run: yarn install
2727
- run: yarn lint
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install Node
3636
uses: actions/setup-node@v3
3737
with:
38-
node-version: 16.x
38+
node-version: 18
3939
cache: yarn
4040
- name: Install Dependencies
4141
run: yarn install --frozen-lockfile
@@ -51,7 +51,7 @@ jobs:
5151
- uses: actions/checkout@v3
5252
- uses: actions/setup-node@v3
5353
with:
54-
node-version: 16.x
54+
node-version: 18
5555
cache: yarn
5656
- name: Install Dependencies
5757
run: yarn install --no-lockfile
@@ -135,7 +135,7 @@ jobs:
135135
- uses: actions/checkout@v3
136136
- uses: actions/setup-node@v3
137137
with:
138-
node-version: 16
138+
node-version: 18
139139

140140
- name: install deps
141141
run: yarn install
@@ -152,7 +152,7 @@ jobs:
152152
strategy:
153153
fail-fast: false
154154
matrix:
155-
node: ['16', '18']
155+
node: [18, 20, 21]
156156

157157
name: Smoke Tests (Node v${{ matrix.node }} with npm)
158158
runs-on: ubuntu-latest
@@ -180,7 +180,7 @@ jobs:
180180
strategy:
181181
fail-fast: false
182182
matrix:
183-
node: ['16', '18']
183+
node: [18, 20, 21]
184184

185185
name: Smoke Tests (Node v${{ matrix.node }} with yarn)
186186
runs-on: ubuntu-latest
@@ -217,7 +217,7 @@ jobs:
217217
- uses: actions/checkout@v3
218218
- uses: actions/setup-node@v3
219219
with:
220-
node-version: 16
220+
node-version: 18
221221

222222
- name: install deps
223223
run: yarn install

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/setup-node@v1
1616
with:
1717
registry-url: 'https://registry.npmjs.org'
18-
node-version: 16
18+
node-version: 18
1919

2020
- name: auto-dist-tag
2121
run: npx auto-dist-tag@1 --write

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"tmp-sync": "^1.1.0"
6565
},
6666
"engines": {
67-
"node": "16.* || >= 18.*"
67+
"node": ">= 18"
6868
},
6969
"publishConfig": {
7070
"registry": "https://registry.npmjs.org"

0 commit comments

Comments
 (0)