From 74485c0fe1af6269a429438a35029470581be9b1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 31 Oct 2026 23:39:10 +0000 Subject: [PATCH 1/2] chore(deps): update node.js to v26 --- .github/actions/setup-node-yarn/action.yml | 2 +- package.json | 2 +- packages/backend/Dockerfile | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup-node-yarn/action.yml b/.github/actions/setup-node-yarn/action.yml index 663f144..68015db 100644 --- a/.github/actions/setup-node-yarn/action.yml +++ b/.github/actions/setup-node-yarn/action.yml @@ -7,7 +7,7 @@ runs: - name: Set up Node.js uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: 22 + node-version: 26 cache: yarn - name: Enable Corepack diff --git a/package.json b/package.json index d1e4f31..4839e95 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "private": true, "engines": { - "node": "22 || 24" + "node": "22 || 24 || 26" }, "scripts": { "start": "backstage-cli repo start", diff --git a/packages/backend/Dockerfile b/packages/backend/Dockerfile index cb0a779..cc21c6d 100644 --- a/packages/backend/Dockerfile +++ b/packages/backend/Dockerfile @@ -7,7 +7,7 @@ # See https://backstage.io/docs/deployment/docker#multi-stage-build # Stage 1 - Create yarn install skeleton layer -FROM node:24.22.2-trixie-slim AS packages +FROM node:26.13.0-trixie-slim AS packages WORKDIR /app COPY backstage.json package.json yarn.lock ./ @@ -21,7 +21,7 @@ COPY plugins plugins RUN find packages \! -name "package.json" -mindepth 2 -maxdepth 2 -exec rm -rf {} \+ # Stage 2 - Install dependencies and build packages -FROM node:24.22.2-trixie-slim AS build +FROM node:26.13.0-trixie-slim AS build # Set Python interpreter for `node-gyp` to use ENV PYTHON=/usr/bin/python3 @@ -59,7 +59,7 @@ RUN mkdir packages/backend/dist/skeleton packages/backend/dist/bundle \ && tar xzf packages/backend/dist/bundle.tar.gz -C packages/backend/dist/bundle # Stage 3 - Build the actual backend image and install production dependencies -FROM node:24.22.2-trixie-slim +FROM node:26.13.0-trixie-slim # Set Python interpreter for `node-gyp` to use ENV PYTHON=/usr/bin/python3 From d008e8557698a8bfb8173634ecda86892e0f224f Mon Sep 17 00:00:00 2001 From: Evan Vetere Date: Sat, 31 Oct 2026 19:50:04 -0400 Subject: [PATCH 2/2] fix: Install yarn in the Node 26 backend image Node 26 images ship neither yarn nor corepack, so the backend image build failed at yarn install with exit 127 and kind-e2e went red. Key features/changes: - Install yarn 1.22.22 with npm in the build and runtime stages, the launcher Node 24 images bundled; it hands off to the pinned yarnPath release, so installs still run on Yarn 4.13.0 --- packages/backend/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/backend/Dockerfile b/packages/backend/Dockerfile index cc21c6d..f7aa776 100644 --- a/packages/backend/Dockerfile +++ b/packages/backend/Dockerfile @@ -23,6 +23,8 @@ RUN find packages \! -name "package.json" -mindepth 2 -maxdepth 2 -exec rm -rf { # Stage 2 - Install dependencies and build packages FROM node:26.13.0-trixie-slim AS build +RUN npm install -g yarn@1.22.22 + # Set Python interpreter for `node-gyp` to use ENV PYTHON=/usr/bin/python3 @@ -61,6 +63,8 @@ RUN mkdir packages/backend/dist/skeleton packages/backend/dist/bundle \ # Stage 3 - Build the actual backend image and install production dependencies FROM node:26.13.0-trixie-slim +RUN npm install -g yarn@1.22.22 + # Set Python interpreter for `node-gyp` to use ENV PYTHON=/usr/bin/python3