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
This commit is contained in:
Mike McCready 2025-06-06 20:21:48 +02:00 committed by GitHub
parent 98fd966176
commit 783a42fbe3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 3 deletions

View File

@ -46,15 +46,21 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
node: node:
- 18
- 20 - 20
- 22 - 22
- 23 - 24
platform: platform:
- ubuntu-latest - ubuntu-latest
- macos-latest - macos-latest
- windows-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" name: "${{matrix.platform}} w/ Node.js ${{matrix.node}}.x"
runs-on: ${{matrix.platform}} runs-on: ${{matrix.platform}}

View File

@ -10,7 +10,7 @@
"url": "https://github.com/nodejs/corepack.git" "url": "https://github.com/nodejs/corepack.git"
}, },
"engines": { "engines": {
"node": "^18.17.1 || ^20.10.0 || >=22.11.0" "node": "^20.10.0 || ^22.11.0 || >=24.0.0"
}, },
"exports": { "exports": {
"./package.json": "./package.json" "./package.json": "./package.json"