Skip to content

Commit 9087745

Browse files
Ihor MasechkoIhor Masechko
authored andcommitted
Upgrade to Node.js 24 LTS
- 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
1 parent 88849c6 commit 9087745

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/daily-pr-count.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Node.js
2222
uses: actions/setup-node@v3
2323
with:
24-
node-version: 16
24+
node-version: 24
2525

2626
- name: Run PR counter script
2727
run: |

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:23-alpine AS build
1+
FROM node:24-alpine AS build
22
# Set build arguments with defaults
33
ARG NODE_ENV=production
44
ARG NPM_INSTALL_FLAGS=
@@ -15,16 +15,16 @@ RUN npm ci $NPM_INSTALL_FLAGS
1515
# Copy website files
1616
COPY website/ ./
1717

18-
FROM node:23-alpine
18+
FROM node:24-alpine
1919

2020
# Set working directory
2121
WORKDIR /app
2222

2323
# Create a non-root user and group
2424
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
2525

26-
# Install dependencies needed for health checks with pinned version
27-
RUN apk add --no-cache wget=1.25.0-r1
26+
# Install dependencies needed for health checks
27+
RUN apk add --no-cache wget
2828

2929
# Copy layer wfrom build image
3030
COPY --chown=appuser:appgroup --from=build /app /app

website/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"author": "",
9191
"license": "MIT",
9292
"engines": {
93-
"node": ">=16.x",
94-
"npm": ">=8.x"
93+
"node": ">=24.x",
94+
"npm": ">=11.x"
9595
}
9696
}

0 commit comments

Comments
 (0)