Standardize Node.js version to 24 (#599)

Update Node.js from 20 to 24 across CI workflows, Dockerfiles,
package.json engines field, and add .node-version file for consistent
local development.
This commit is contained in:
Darko Gjorgjijoski
2026-04-02 17:08:39 +02:00
committed by GitHub
parent f623cd0179
commit 08dfe62312
7 changed files with 747 additions and 519 deletions

View File

@@ -100,10 +100,10 @@ jobs:
- name: Install Composer dependencies
uses: ramsey/composer-install@v2
- name: Use Node.js 20
- name: Use Node.js 24
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
- name: Install
run: npm install

View File

@@ -61,10 +61,10 @@ jobs:
- name: Install Composer dependencies
uses: ramsey/composer-install@v2
- name: Use Node.js 20
- name: Use Node.js 24
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
- name: Install
run: npm install
@@ -100,10 +100,10 @@ jobs:
with:
composer-options: --no-dev
- name: Use Node.js 20
- name: Use Node.js 24
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
- name: Install
run: npm install

1
.node-version Normal file
View File

@@ -0,0 +1 @@
24

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM node AS static_builder
FROM --platform=$BUILDPLATFORM node:24 AS static_builder
WORKDIR /var/www/html
COPY . /var/www/html
RUN yarn && yarn build

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM node:20 AS static_builder
FROM --platform=$BUILDPLATFORM node:24 AS static_builder
WORKDIR /var/www/html
COPY . /var/www/html
RUN yarn && yarn build

View File

@@ -1,5 +1,8 @@
{
"private": true,
"engines": {
"node": ">=24"
},
"type": "module",
"scripts": {
"dev": "vite",

1246
yarn.lock

File diff suppressed because it is too large Load Diff