Skip to content

Commit 4e3007a

Browse files
authored
Merge pull request #4461 from bcgov/NDT-1205-Upgrade-to-Node-24
chore: node 24
2 parents f73d3ab + 509c779 commit 4e3007a

File tree

8 files changed

+22
-10
lines changed

8 files changed

+22
-10
lines changed

.github/workflows/test-checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
fetch-depth: 0
114114
- uses: actions/setup-node@v6
115115
with:
116-
node-version: 18
116+
node-version: 24
117117
- run: |
118118
node - <<EOF
119119
const { execSync } = require('child_process');

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
nodejs 20.16.0
1+
nodejs 24.0.0
22
yarn 1.22.18
33
kubectl 1.21.6
44
postgres 14.1

app/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Base stage to install global dependencies
2-
FROM node:20-alpine AS base
2+
FROM node:24-alpine AS base
33

44
ENV SUMMARY="An image for the CONN-CCBC-portal app" \
55
DESCRIPTION="This image contains the compiled CONN-CCBC-portal node app"
@@ -75,7 +75,7 @@ RUN yarn install --frozen-lockfile --production=true --prefer-offline
7575

7676
# -- FINAL STAGE --
7777
# Production image to run the application
78-
FROM node:20-alpine AS runner
78+
FROM node:24-alpine AS runner
7979

8080
# Env variables for the final image
8181
ENV APP_HOME=/application

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
"@types/leaflet": "^1.9.21",
147147
"@types/lodash.isequal": "^4.5.8",
148148
"@types/luxon": "^3.7.1",
149-
"@types/node": "22.15.29",
149+
"@types/node": "24.0.0",
150150
"@types/react": "18.3.12",
151151
"@types/react-dom": "18.3.1",
152152
"@types/react-relay": "^18.2.1",

app/yarn.lock

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5302,7 +5302,7 @@
53025302
resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197"
53035303
integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==
53045304

5305-
"@types/node@*", "@types/node@22.15.29":
5305+
"@types/node@*":
53065306
version "22.15.29"
53075307
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.29.tgz#c75999124a8224a3f79dd8b6ccfb37d74098f678"
53085308
integrity sha512-LNdjOkUDlU1RZb8e1kOIUpN1qQUlzGkEtbVNo53vbrwDg5om6oduhm4SiUaPW5ASTXhAiP0jInWG8Qx9fVlOeQ==
@@ -5314,6 +5314,13 @@
53145314
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.13.tgz#ee1128e881b874c371374c1f72201893616417c9"
53155315
integrity sha512-rouEWBImiRaSJsVA+ITTFM6ZxibuAlTuNOCyxVbwreu6k6+ujs7DfnU9o+PShFhET78pMBl3eH+AGSI5eOTkPA==
53165316

5317+
"@types/node@24.0.0":
5318+
version "24.0.0"
5319+
resolved "https://registry.yarnpkg.com/@types/node/-/node-24.0.0.tgz#14a278ce74dd33993f2c4e5dd614760728c0fba8"
5320+
integrity sha512-yZQa2zm87aRVcqDyH5+4Hv9KYgSdgwX1rFnGvpbzMaC7YAljmhBET93TPiTd3ObwTL+gSpIzPKg5BqVxdCvxKg==
5321+
dependencies:
5322+
undici-types "~7.8.0"
5323+
53175324
"@types/node@^18.14.6":
53185325
version "18.19.87"
53195326
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.87.tgz#690f000cc51e3c7f48bc00f7e86fac6eb550b709"
@@ -15155,6 +15162,11 @@ undici-types@~6.21.0:
1515515162
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb"
1515615163
integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==
1515715164

15165+
undici-types@~7.8.0:
15166+
version "7.8.0"
15167+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.8.0.tgz#de00b85b710c54122e44fbfd911f8d70174cd294"
15168+
integrity sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==
15169+
1515815170
undici@^7.19.0:
1515915171
version "7.19.2"
1516015172
resolved "https://registry.yarnpkg.com/undici/-/undici-7.19.2.tgz#d8b206caccb1da7090effad2ca93d9e40449f214"

conn-ticket-queue/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the application
2-
FROM node:20-alpine AS builder
2+
FROM node:24-alpine AS builder
33

44
# Set working directory
55
WORKDIR /app
@@ -20,7 +20,7 @@ COPY conn-ticket-queue/ .
2020
RUN yarn build
2121

2222
# Stage 2: Run the application
23-
FROM node:20-alpine AS runner
23+
FROM node:24-alpine AS runner
2424

2525
# Set working directory
2626
WORKDIR /app

cron/sp/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
FROM node:22-alpine
2+
FROM node:24-alpine
33

44
ENV SUMMARY="An image for the CCBC SP Cronjob" \
55
DESCRIPTION="This image contains the script to run on an OpenShift Cronjob"

local_setup/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Please refer to [Authentication in Sqitch](https://sqitch.org/docs/manual/sqitch
124124
# Set up the Application
125125

126126
## Prerequisites
127-
- [Node.js 20.16.0](https://nodejs.org/en/download/)
127+
- [Node.js 24.0.0](https://nodejs.org/en/download/)
128128
- [yarn classic](https://classic.yarnpkg.com/lang/en/docs/install)
129129

130130
## Environment variables

0 commit comments

Comments
 (0)