Run tests on Node.js 26 (#19117)

This commit is contained in:
fisker Cheung authored and GitHub committed 2026-05-20 11:23:45 +08:00
1 parent 0b313f63a2
commit c3556d9d5c
2 files changed
+9 -12

No files matched your search

+4 -6
View File
@@ -28,20 +28,18 @@ jobs:
- "macos-latest" - "macos-latest"
- "windows-latest" - "windows-latest"
node: node:
# Latest even version # Latest version
- "24" - "26"
# Minimal version for development # Minimal version for development
- "20" - "20"
include: include:
- os: "ubuntu-latest" - os: "ubuntu-latest"
# Pick a version that is fast (normally highest LTS version) # Pick a version that is fast (normally highest LTS version)
# Doesn't work on Node.js v26 https://github.com/bcoe/c8/issues/592
node: "24" node: "24"
ENABLE_CODE_COVERAGE: true ENABLE_CODE_COVERAGE: true
FULL_TEST: true FULL_TEST: true
# Versions not tested on linux, normally only even versions # Versions not tested on linux
# If latest version is an odd number, it can be listed below too
- os: "ubuntu-latest"
node: "25"
- os: "ubuntu-latest" - os: "ubuntu-latest"
node: "22" node: "22"
env: env:
+5 -6
View File
@@ -57,19 +57,18 @@ jobs:
- "macos-latest" - "macos-latest"
- "windows-latest" - "windows-latest"
node: node:
# Latest even version # Latest version
- "24" - "26"
# Minimal version for production # Minimal version for production
- "14" - "14"
include: include:
- os: "ubuntu-latest" - os: "ubuntu-latest"
# Pick a version that is fast (normally highest LTS version) # Pick a version that is fast (normally highest LTS version)
node: "24" node: "26"
FULL_TEST: true FULL_TEST: true
# Versions not tested on linux, normally only even versions # Versions not tested on linux
# If latest version is an odd number, it can be listed below too
- os: "ubuntu-latest" - os: "ubuntu-latest"
node: "25" node: "24"
- os: "ubuntu-latest" - os: "ubuntu-latest"
node: "22" node: "22"
- os: "ubuntu-latest" - os: "ubuntu-latest"