From f50439df046b7fb9bcebe94027d67bd5c5af3856 Mon Sep 17 00:00:00 2001 From: Reilly Grant Date: Mon, 15 Jun 2026 11:44:14 -0700 Subject: [PATCH] Update workflow matrix to current Node.js LTS releases All of the Node.js versions being tested are unsupported. Update the test matrix to the set of currently supported Node.js LTS releases. Rollup and Webpack versions are not updated. --- .github/workflows/build.yml | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d67c363..1cdfd1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,22 +13,20 @@ jobs: fail-fast: false matrix: test-case: [ - # Lowest supported versions are 1.21.0 for Rollup and 4.0.1 for Webpack. - { node: 14.x, rollup: 1.21.0, webpack: 4.0.1 }, - { node: 14.x, rollup: ^1.21.0, webpack: ^4.0.1 }, - { node: 14.x, rollup: ^2.0.0, webpack: 5.0.x }, - { node: 14.x, rollup: ^3.0.0, webpack: ^5.0.0 }, + { node: 22.x, rollup: 1.21.x, webpack: 5.61.x }, + { node: 22.x, rollup: ^1.21.0, webpack: ^5.0.0 }, + { node: 22.x, rollup: ^2.0.0, webpack: 5.61.x }, + { node: 22.x, rollup: ^3.0.0, webpack: ^5.0.0 }, - { node: 16.x, rollup: 1.21.x, webpack: 4.1.x }, - { node: 16.x, rollup: ^1.21.0, webpack: ^4.0.1 }, - { node: 16.x, rollup: ^2.0.0, webpack: 5.0.x }, - { node: 16.x, rollup: ^3.0.0, webpack: ^5.0.0 }, + { node: 24.x, rollup: 1.21.x, webpack: 5.61.x }, + { node: 24.x, rollup: ^1.21.0, webpack: ^5.0.0 }, + { node: 24.x, rollup: ^2.0.0, webpack: 5.61.x }, + { node: 24.x, rollup: ^3.0.0, webpack: ^5.0.0 }, - # Node 18 only works with Webpack version ^5.61.x. - { node: 18.x, rollup: 1.21.x, webpack: 5.61.x }, - { node: 18.x, rollup: ^1.21.0, webpack: ^5.0.0 }, - { node: 18.x, rollup: ^2.0.0, webpack: 5.61.x }, - { node: 18.x, rollup: ^3.0.0, webpack: ^5.0.0 }, + { node: 26.x, rollup: 1.21.x, webpack: 5.61.x }, + { node: 26.x, rollup: ^1.21.0, webpack: ^5.0.0 }, + { node: 26.x, rollup: ^2.0.0, webpack: 5.61.x }, + { node: 26.x, rollup: ^3.0.0, webpack: ^5.0.0 }, ] steps: @@ -71,10 +69,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Use Node.js 18.x + - name: Use Node.js 26.x uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 26.x cache: 'npm' - run: npm ci - run: npm run lint