From 07773e3ab4afb1e039f019b9beefb507f6da9d84 Mon Sep 17 00:00:00 2001 From: Imani Manyara Date: Fri, 2 Oct 2026 09:59:35 -0400 Subject: [PATCH] Test on Node 24 and build releases on it Node 20 reached end of life in April 2026, so the release job moves to Node 24, the current LTS. CI adds 24 to the matrix and keeps 18 and 20, because package.json still declares engines >=18 and that floor should stay tested until it is raised on purpose. --- .github/workflows/ci.yml | 3 ++- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf0e60c..5873167 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18, 20, 22] + # 18 is the engines floor; keep it tested while package.json promises it. + node-version: [18, 20, 22, 24] steps: - uses: actions/checkout@v7 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7aca15b..f610254 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-node@v7 with: - node-version: 20 + node-version: 24 # current LTS; Node 20 is end-of-life registry-url: https://registry.npmjs.org cache: npm cache-dependency-path: package.json