From 3891b4e39523f123e5dc056c3181c76087bf498d Mon Sep 17 00:00:00 2001 From: Rowan Manning <138944+rowanmanning@users.noreply.github.com> Date: Fri, 9 Jan 2026 11:02:37 +0000 Subject: [PATCH] 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. --- .circleci/config.yml | 38 +++++++++++++++++++------------------- package.json | 2 +- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 944fa83e..fea32914 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,7 +14,7 @@ references: - image: cimg/node:<< parameters.node-version >> parameters: node-version: - default: "22.13" # We default to the highest active LTS + default: "24.12" # We default to the highest active LTS type: string workspace_root: &workspace_root ~/project @@ -76,7 +76,7 @@ jobs: - checkout - *restore_cache - node/install-npm: - version: '10.2.5' + version: '11.7.0' - run: name: Install project dependencies command: npm install @@ -151,29 +151,29 @@ workflows: name: build-v<< matrix.node-version >> matrix: parameters: - node-version: [ "24.0", "22.13" ] + node-version: [ "24.12", "22.21" ] - test: requires: - build-v<< matrix.node-version >> name: test-v<< matrix.node-version >> matrix: parameters: - node-version: [ "24.0", "22.13" ] + node-version: [ "24.12", "22.21" ] - lint: requires: - build-v<< matrix.node-version >> name: lint-v<< matrix.node-version >> matrix: parameters: - node-version: [ "24.0", "22.13" ] + node-version: [ "24.12", "22.21" ] - release-please: filters: <<: *filters_only_main requires: # We release on the highest active LTS version of # Node.js that we support - - test-v22.13 - - lint-v22.13 + - test-v24.12 + - lint-v24.12 build-test-publish: jobs: @@ -183,7 +183,7 @@ workflows: name: build-v<< matrix.node-version >> matrix: parameters: - node-version: [ "24.0", "22.13" ] + node-version: [ "24.12", "22.21" ] - test: filters: <<: *filters_release_build @@ -192,7 +192,7 @@ workflows: name: test-v<< matrix.node-version >> matrix: parameters: - node-version: [ "24.0", "22.13" ] + node-version: [ "24.12", "22.21" ] - lint: filters: <<: *filters_release_build @@ -201,7 +201,7 @@ workflows: name: lint-v<< matrix.node-version >> matrix: parameters: - node-version: [ "24.0", "22.13" ] + node-version: [ "24.12", "22.21" ] - publish: context: npm-publish-token filters: @@ -209,8 +209,8 @@ workflows: requires: # We release on the highest active LTS version of # Node.js that we support - - lint-v22.13 - - test-v22.13 + - lint-v24.12 + - test-v24.12 build-test-prepublish: jobs: @@ -220,7 +220,7 @@ workflows: name: build-v<< matrix.node-version >> matrix: parameters: - node-version: [ "24.0", "22.13" ] + node-version: [ "24.12", "22.21" ] - test: filters: <<: *filters_prerelease_build @@ -229,7 +229,7 @@ workflows: name: test-v<< matrix.node-version >> matrix: parameters: - node-version: [ "24.0", "22.13" ] + node-version: [ "24.12", "22.21" ] - lint: filters: <<: *filters_prerelease_build @@ -238,7 +238,7 @@ workflows: name: lint-v<< matrix.node-version >> matrix: parameters: - node-version: [ "24.0", "22.13" ] + node-version: [ "24.12", "22.21" ] - prepublish: context: npm-publish-token filters: @@ -246,8 +246,8 @@ workflows: requires: # We release on the highest active LTS version of # Node.js that we support - - lint-v22.13 - - test-v22.13 + - lint-v24.12 + - test-v24.12 nightly: triggers: @@ -261,7 +261,7 @@ workflows: name: build-v<< matrix.node-version >> matrix: parameters: - node-version: [ "24.0", "22.13" ] + node-version: [ "24.12", "22.21" ] - test: requires: - build-v<< matrix.node-version >> @@ -269,4 +269,4 @@ workflows: name: test-v<< matrix.node-version >> matrix: parameters: - node-version: [ "24.0", "22.13" ] + node-version: [ "24.12", "22.21" ] diff --git a/package.json b/package.json index 9a8d6ed9..4f4266fd 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,6 @@ "node": "22.x || 24.x" }, "volta": { - "node": "22.13.0" + "node": "24.12.0" } }