Skip to content

Commit 02f00f3

Browse files
committed
build: bump Node.js versions to the latest minors
This means we're running with the latest versions of the Node.js majors that we support. I also switched our publish workflow to run on Node.js 24 rather than 22 - 24 is now the latest LTS version and 22 is in maintenance.
1 parent ebbea52 commit 02f00f3

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

.circleci/config.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ references:
1414
- image: cimg/node:<< parameters.node-version >>
1515
parameters:
1616
node-version:
17-
default: "22.13" # We default to the highest active LTS
17+
default: "24.12" # We default to the highest active LTS
1818
type: string
1919

2020
workspace_root: &workspace_root ~/project
@@ -76,7 +76,7 @@ jobs:
7676
- checkout
7777
- *restore_cache
7878
- node/install-npm:
79-
version: '10.2.5'
79+
version: '11.7.0'
8080
- run:
8181
name: Install project dependencies
8282
command: npm install
@@ -151,29 +151,29 @@ workflows:
151151
name: build-v<< matrix.node-version >>
152152
matrix:
153153
parameters:
154-
node-version: [ "24.0", "22.13" ]
154+
node-version: [ "24.12", "22.21" ]
155155
- test:
156156
requires:
157157
- build-v<< matrix.node-version >>
158158
name: test-v<< matrix.node-version >>
159159
matrix:
160160
parameters:
161-
node-version: [ "24.0", "22.13" ]
161+
node-version: [ "24.12", "22.21" ]
162162
- lint:
163163
requires:
164164
- build-v<< matrix.node-version >>
165165
name: lint-v<< matrix.node-version >>
166166
matrix:
167167
parameters:
168-
node-version: [ "24.0", "22.13" ]
168+
node-version: [ "24.12", "22.21" ]
169169
- release-please:
170170
filters:
171171
<<: *filters_only_main
172172
requires:
173173
# We release on the highest active LTS version of
174174
# Node.js that we support
175-
- test-v22.13
176-
- lint-v22.13
175+
- test-v24.12
176+
- lint-v24.12
177177

178178
build-test-publish:
179179
jobs:
@@ -183,7 +183,7 @@ workflows:
183183
name: build-v<< matrix.node-version >>
184184
matrix:
185185
parameters:
186-
node-version: [ "24.0", "22.13" ]
186+
node-version: [ "24.12", "22.21" ]
187187
- test:
188188
filters:
189189
<<: *filters_release_build
@@ -192,7 +192,7 @@ workflows:
192192
name: test-v<< matrix.node-version >>
193193
matrix:
194194
parameters:
195-
node-version: [ "24.0", "22.13" ]
195+
node-version: [ "24.12", "22.21" ]
196196
- lint:
197197
filters:
198198
<<: *filters_release_build
@@ -201,16 +201,16 @@ workflows:
201201
name: lint-v<< matrix.node-version >>
202202
matrix:
203203
parameters:
204-
node-version: [ "24.0", "22.13" ]
204+
node-version: [ "24.12", "22.21" ]
205205
- publish:
206206
context: npm-publish-token
207207
filters:
208208
<<: *filters_release_build
209209
requires:
210210
# We release on the highest active LTS version of
211211
# Node.js that we support
212-
- lint-v22.13
213-
- test-v22.13
212+
- lint-v24.12
213+
- test-v24.12
214214

215215
build-test-prepublish:
216216
jobs:
@@ -220,7 +220,7 @@ workflows:
220220
name: build-v<< matrix.node-version >>
221221
matrix:
222222
parameters:
223-
node-version: [ "24.0", "22.13" ]
223+
node-version: [ "24.12", "22.21" ]
224224
- test:
225225
filters:
226226
<<: *filters_prerelease_build
@@ -229,7 +229,7 @@ workflows:
229229
name: test-v<< matrix.node-version >>
230230
matrix:
231231
parameters:
232-
node-version: [ "24.0", "22.13" ]
232+
node-version: [ "24.12", "22.21" ]
233233
- lint:
234234
filters:
235235
<<: *filters_prerelease_build
@@ -238,16 +238,16 @@ workflows:
238238
name: lint-v<< matrix.node-version >>
239239
matrix:
240240
parameters:
241-
node-version: [ "24.0", "22.13" ]
241+
node-version: [ "24.12", "22.21" ]
242242
- prepublish:
243243
context: npm-publish-token
244244
filters:
245245
<<: *filters_prerelease_build
246246
requires:
247247
# We release on the highest active LTS version of
248248
# Node.js that we support
249-
- lint-v22.13
250-
- test-v22.13
249+
- lint-v24.12
250+
- test-v24.12
251251

252252
nightly:
253253
triggers:
@@ -261,12 +261,12 @@ workflows:
261261
name: build-v<< matrix.node-version >>
262262
matrix:
263263
parameters:
264-
node-version: [ "24.0", "22.13" ]
264+
node-version: [ "24.12", "22.21" ]
265265
- test:
266266
requires:
267267
- build-v<< matrix.node-version >>
268268
context: next-nightly-build
269269
name: test-v<< matrix.node-version >>
270270
matrix:
271271
parameters:
272-
node-version: [ "24.0", "22.13" ]
272+
node-version: [ "24.12", "22.21" ]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@
4848
"node": "22.x || 24.x"
4949
},
5050
"volta": {
51-
"node": "22.13.0"
51+
"node": "24.12.0"
5252
}
5353
}

0 commit comments

Comments
 (0)