From 455097278231bb74b80ad5cd09de7e1817ab1570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bed=C5=99ich=20Schindler?= Date: Mon, 14 Sep 2026 07:52:48 +0000 Subject: [PATCH] Downgrade `node` to v24.17 and `npm` to v11.13 (#738) Component tests cannot run in the local `playwright` service because npm fails the `devEngines` check with `EBADDEVENGINES`. The Playwright Docker image does not pin Node.js and npm. It installs the latest Node.js 24.x available when the image is built, so the `mcr.microsoft.com/playwright:v1.61.1` image ships Node.js v24.17.0 and npm v11.13.0, which do not satisfy the required `^24.19.0` and `^11.17.0`. CI is not affected because the workflow sets up Node.js v24.19 via `actions/setup-node` inside the Playwright container. Downgrade Node.js and npm in the `node` service, workflows and `devEngines` to the versions shipped in the Playwright image, so that all services and CI use the same versions. --- .github/workflows/build.yml | 4 ++-- .github/workflows/lint.yml | 2 +- .github/workflows/playwright.yml | 2 +- .github/workflows/release-management.yml | 6 +++--- .github/workflows/test.yml | 2 +- docker/node/Dockerfile | 2 +- package.json | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f6179a1e6..6c89cd411 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,11 +37,11 @@ on: [ pull_request ] # Versions defined in `env` use major version numbers only to install the latest minor/patch. env: - NODE_ACTIVE_LTS_VERSION: 24.19 + NODE_ACTIVE_LTS_VERSION: 24.17 NODE_PREVIOUS_LTS_VERSION: 22.23 # Pin npm version to prevent npm issues from breaking the build # See - NPM_VERSION: 11.17.0 + NPM_VERSION: 11.13.0 jobs: build_on_node_previous_lts: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 136c31356..e86dee323 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 24.19 + node-version: 24.17 cache: npm - name: Print Node.js and npm version diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 7ee290a17..05d64e3d0 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 24.19 + node-version: 24.17 cache: npm - name: Print Node.js and npm version diff --git a/.github/workflows/release-management.yml b/.github/workflows/release-management.yml index d34eb91b1..ec91cf443 100644 --- a/.github/workflows/release-management.yml +++ b/.github/workflows/release-management.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 24.19 + node-version: 24.17 cache: npm - name: Install @@ -105,7 +105,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 24.19 + node-version: 24.17 cache: npm registry-url: https://registry.npmjs.org @@ -136,7 +136,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 24.19 + node-version: 24.17 cache: npm - name: Install diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d19f5a89..3158c8302 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 24.19 + node-version: 24.17 cache: npm - name: Print Node.js and npm version diff --git a/docker/node/Dockerfile b/docker/node/Dockerfile index dad71b53c..a38329577 100644 --- a/docker/node/Dockerfile +++ b/docker/node/Dockerfile @@ -1,3 +1,3 @@ -FROM node:24.19 +FROM node:24.17 RUN mkdir /workspace WORKDIR /workspace diff --git a/package.json b/package.json index 96c298371..e9ed9f62e 100644 --- a/package.json +++ b/package.json @@ -49,12 +49,12 @@ "devEngines": { "runtime": { "name": "node", - "version": "^22.23.0 || ^24.19.0", + "version": "^22.23.0 || ^24.17.0", "onFail": "error" }, "packageManager": { "name": "npm", - "version": "^11.17.0", + "version": "^11.13.0", "onFail": "error" } },