From c3556d9d5cbed674e31623684dc18fa3f1d640f0 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Wed, 20 May 2026 11:23:45 +0800 Subject: [PATCH] Run tests on Node.js 26 (#19117) --- .github/workflows/dev-test.yml | 10 ++++------ .github/workflows/prod-test.yml | 11 +++++------ 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/dev-test.yml b/.github/workflows/dev-test.yml index 924a81829..42d56cc59 100644 --- a/.github/workflows/dev-test.yml +++ b/.github/workflows/dev-test.yml @@ -28,20 +28,18 @@ jobs: - "macos-latest" - "windows-latest" node: - # Latest even version - - "24" + # Latest version + - "26" # Minimal version for development - "20" include: - os: "ubuntu-latest" # 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" ENABLE_CODE_COVERAGE: true FULL_TEST: true - # Versions not tested on linux, normally only even versions - # If latest version is an odd number, it can be listed below too - - os: "ubuntu-latest" - node: "25" + # Versions not tested on linux - os: "ubuntu-latest" node: "22" env: diff --git a/.github/workflows/prod-test.yml b/.github/workflows/prod-test.yml index ab7f10840..9c9568181 100644 --- a/.github/workflows/prod-test.yml +++ b/.github/workflows/prod-test.yml @@ -57,19 +57,18 @@ jobs: - "macos-latest" - "windows-latest" node: - # Latest even version - - "24" + # Latest version + - "26" # Minimal version for production - "14" include: - os: "ubuntu-latest" # Pick a version that is fast (normally highest LTS version) - node: "24" + node: "26" FULL_TEST: true - # Versions not tested on linux, normally only even versions - # If latest version is an odd number, it can be listed below too + # Versions not tested on linux - os: "ubuntu-latest" - node: "25" + node: "24" - os: "ubuntu-latest" node: "22" - os: "ubuntu-latest"