From 9087745d57182dfd20e3d02cd6b0ce97ad62ad60 Mon Sep 17 00:00:00 2001 From: Ihor Masechko Date: Fri, 30 Jan 2026 11:04:13 +0200 Subject: [PATCH 1/3] Upgrade to Node.js 24 LTS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Dockerfile: node:23-alpine → node:24-alpine - package.json: engines updated to Node.js >=24.x, npm >=11.x - GitHub Actions: daily PR workflow upgraded to Node.js 24 - Dockerfile: remove wget version pin for Alpine compatibility --- .github/workflows/daily-pr-count.yml | 2 +- Dockerfile | 8 ++++---- website/package-lock.json | 4 ++-- website/package.json | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/daily-pr-count.yml b/.github/workflows/daily-pr-count.yml index 232f54da..b451b10e 100644 --- a/.github/workflows/daily-pr-count.yml +++ b/.github/workflows/daily-pr-count.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 24 - name: Run PR counter script run: | diff --git a/Dockerfile b/Dockerfile index b12841ce..bbc723e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:23-alpine AS build +FROM node:24-alpine AS build # Set build arguments with defaults ARG NODE_ENV=production ARG NPM_INSTALL_FLAGS= @@ -15,7 +15,7 @@ RUN npm ci $NPM_INSTALL_FLAGS # Copy website files COPY website/ ./ -FROM node:23-alpine +FROM node:24-alpine # Set working directory WORKDIR /app @@ -23,8 +23,8 @@ WORKDIR /app # Create a non-root user and group RUN addgroup -S appgroup && adduser -S appuser -G appgroup -# Install dependencies needed for health checks with pinned version -RUN apk add --no-cache wget=1.25.0-r1 +# Install dependencies needed for health checks +RUN apk add --no-cache wget # Copy layer wfrom build image COPY --chown=appuser:appgroup --from=build /app /app diff --git a/website/package-lock.json b/website/package-lock.json index 77e140fa..0a16a4e8 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -59,8 +59,8 @@ "vue-eslint-parser": "^10.1.3" }, "engines": { - "node": ">=16.x", - "npm": ">=8.x" + "node": ">=24.x", + "npm": ">=11.x" } }, "node_modules/@ampproject/remapping": { diff --git a/website/package.json b/website/package.json index 07694c7b..58c4be73 100644 --- a/website/package.json +++ b/website/package.json @@ -90,7 +90,7 @@ "author": "", "license": "MIT", "engines": { - "node": ">=16.x", - "npm": ">=8.x" + "node": ">=24.x", + "npm": ">=11.x" } } From f13be477366256568d80d84401051d2f15535e4b Mon Sep 17 00:00:00 2001 From: Ihor Masechko Date: Fri, 30 Jan 2026 11:22:04 +0200 Subject: [PATCH 2/3] Pin wget version to 1.25.0-r2 in Dockerfile for linter compliance --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bbc723e6..336375fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ WORKDIR /app RUN addgroup -S appgroup && adduser -S appuser -G appgroup # Install dependencies needed for health checks -RUN apk add --no-cache wget +RUN apk add --no-cache wget=1.25.0-r2 # Copy layer wfrom build image COPY --chown=appuser:appgroup --from=build /app /app From adfef38d49d2409a0510e7e7b251097fcc5b82c8 Mon Sep 17 00:00:00 2001 From: Ihor Masechko Date: Fri, 30 Jan 2026 11:28:54 +0200 Subject: [PATCH 3/3] Upgrade actions/setup-node from v3 to v5 for Node.js 24 runtime support --- .github/workflows/daily-pr-count.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/daily-pr-count.yml b/.github/workflows/daily-pr-count.yml index b451b10e..4eaa2b16 100644 --- a/.github/workflows/daily-pr-count.yml +++ b/.github/workflows/daily-pr-count.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v3 - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v5 with: node-version: 24