From 3b8d753c350dfe31b193015140e03c75c5f7055a Mon Sep 17 00:00:00 2001 From: mizdra Date: Sun, 17 May 2026 01:28:36 +0900 Subject: [PATCH 1/2] ci: upgrade default Node.js to 26 and trim test matrix Bump the default Node.js version across CI workflows to 26 now that it has been released. Drop multi-OS coverage for older Node and for vscode-test: - test job: only run Node 26 / stylelint 17 across ubuntu/macos/windows. Older Node versions (22, 24) run on ubuntu only since OS-specific issues in old Node versions almost always reproduce on ubuntu too. - vscode-test job: pin to Node 26. The extension host uses VS Code's bundled Node, so the runner's Node version does not affect tests. - release.yml: switch runner to ubuntu-24.04-arm to match other jobs. --- .../workflows/check-generated-in-examples.yml | 2 +- .github/workflows/ci.yml | 17 +++++++++++++---- .github/workflows/release.yml | 4 ++-- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-generated-in-examples.yml b/.github/workflows/check-generated-in-examples.yml index 613c53c9..bad61c7c 100644 --- a/.github/workflows/check-generated-in-examples.yml +++ b/.github/workflows/check-generated-in-examples.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: voidzero-dev/setup-vp@56918a6d0c629c55ae8b88826a7d47fda85769ee # v1.9.0 with: - node-version: 24 + node-version: 26 cache: true - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 741a9533..27a46055 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: voidzero-dev/setup-vp@56918a6d0c629c55ae8b88826a7d47fda85769ee # v1.9.0 with: - node-version: 24 + node-version: 26 cache: true - run: vp check build: @@ -28,18 +28,27 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: voidzero-dev/setup-vp@56918a6d0c629c55ae8b88826a7d47fda85769ee # v1.9.0 with: - node-version: 24 + node-version: 26 cache: true - run: vp run build test: strategy: fail-fast: false matrix: - node: [22, 24] + node: [26] os: [ubuntu-24.04-arm, macos-latest, windows-11-arm] stylelint-version: ['17'] include: + # Configuration for Node.js 24 - node: 24 + os: ubuntu-24.04-arm + stylelint-version: '17' + # Configuration for Node.js 22 + - node: 22 + os: ubuntu-24.04-arm + stylelint-version: '17' + # Configuration for Stylelint 16 + - node: 26 os: ubuntu-24.04-arm stylelint-version: '16' runs-on: ${{ matrix.os }} @@ -65,7 +74,7 @@ jobs: strategy: fail-fast: false matrix: - node: [22, 24] + node: [26] os: [ubuntu-24.04-arm, macos-latest, windows-11-arm] runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c831249..d5f9f733 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,12 +16,12 @@ concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: release: name: Release - runs-on: ubuntu-latest + runs-on: ubuntu-24.04-arm steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: voidzero-dev/setup-vp@56918a6d0c629c55ae8b88826a7d47fda85769ee # v1.9.0 with: - node-version: 24 + node-version: 26 cache: true - run: vp run build - name: set release variables From f71e0f6d493a3c69faad497bf8c3438096f9aa92 Mon Sep 17 00:00:00 2001 From: mizdra Date: Wed, 20 May 2026 22:21:08 +0900 Subject: [PATCH 2/2] ci: pin test job to Node 22/24 to avoid libuv issue on Node 26 The test job currently runs on Node 26, but libuv has a Node 26-specific issue (https://github.com/libuv/libuv/issues/5010). Pin the test matrix to Node 22 and 24 until the upstream fix lands. --- .github/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27a46055..d75e9a11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,20 +35,18 @@ jobs: strategy: fail-fast: false matrix: - node: [26] + # NOTE: We would like to test with Node.js 26 as well, but we are limited to Node.js 24 due to test failures on Windows. + # ref: https://github.com/libuv/libuv/issues/5010 + node: [24] os: [ubuntu-24.04-arm, macos-latest, windows-11-arm] stylelint-version: ['17'] include: - # Configuration for Node.js 24 - - node: 24 - os: ubuntu-24.04-arm - stylelint-version: '17' # Configuration for Node.js 22 - node: 22 os: ubuntu-24.04-arm stylelint-version: '17' # Configuration for Stylelint 16 - - node: 26 + - node: 24 os: ubuntu-24.04-arm stylelint-version: '16' runs-on: ${{ matrix.os }}