From 7e05ebd3892a388ce1b9f85ad95a12a7e0dac4c4 Mon Sep 17 00:00:00 2001 From: David Ochoa Date: Fri, 19 Jun 2026 11:43:37 +0100 Subject: [PATCH] ci: bump Node.js from 20 (EOL) to 22 LTS in CI workflows Node.js 20 reached end-of-life on 2026-03-24. Bump the setup-node toolchain in both GitHub Actions workflows to Node 22 (Active LTS), which also satisfies Vite 7's engine requirement (>=20.19 || >=22.12). Addresses CWE-1104 (use of unmaintained third-party component). --- .github/workflows/build-and-image.yaml | 2 +- .github/workflows/ci.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-image.yaml b/.github/workflows/build-and-image.yaml index 6fbeaf2..a75d6be 100644 --- a/.github/workflows/build-and-image.yaml +++ b/.github/workflows/build-and-image.yaml @@ -25,7 +25,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '22' cache: 'npm' cache-dependency-path: ui/package-lock.json diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d7ad846..e94fac2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,7 +29,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '22' cache: 'npm' cache-dependency-path: ui/package-lock.json