From 783a42fbe35371964e9dde75e2263b179f53bc0c Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Fri, 6 Jun 2025 20:21:48 +0200 Subject: [PATCH] chore!: remove Node.js 18.x and 23.x usage, add 24.x (#718) BREAKING CHANGE: drop Node.js 18.x and 23.x support In CI add Node.js 24.x tests with Windows exclusion --- .github/workflows/ci.yml | 10 ++++++++-- package.json | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d87dab6..eaa3b4c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,15 +46,21 @@ jobs: fail-fast: false matrix: node: - - 18 - 20 - 22 - - 23 + - 24 platform: - ubuntu-latest - macos-latest - windows-latest + # Temporarily skipping Node.js 24 under Windows due to issue + # https://github.com/nodejs/corepack/issues/715 + # vitest fails "handle integrity checks" on Windows with Node.js 24.x + exclude: + - node: 24 + platform: windows-latest + name: "${{matrix.platform}} w/ Node.js ${{matrix.node}}.x" runs-on: ${{matrix.platform}} diff --git a/package.json b/package.json index 45b0b9c..85d78a1 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/nodejs/corepack.git" }, "engines": { - "node": "^18.17.1 || ^20.10.0 || >=22.11.0" + "node": "^20.10.0 || ^22.11.0 || >=24.0.0" }, "exports": { "./package.json": "./package.json"