chore: update Node.js version to 24.16 across workflows and Dockerfile, and enhance package.json with npm version specification

This commit is contained in:
zurdi
2026-05-26 09:23:47 +00:00
parent fc44f9a38c
commit 8f879d0b59
7 changed files with 15 additions and 12 deletions

View File

@@ -41,7 +41,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v5.0.0
with:
node-version: "18"
node-version-file: frontend/.nvmrc
- name: Install frontend dependencies
run: npm install

View File

@@ -22,7 +22,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v5.0.0
with:
node-version: "22"
node-version-file: frontend/.nvmrc
cache: "npm"
cache-dependency-path: frontend/package-lock.json
@@ -43,7 +43,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v5.0.0
with:
node-version: "22"
node-version-file: frontend/.nvmrc
cache: "npm"
cache-dependency-path: frontend/package-lock.json
@@ -64,7 +64,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v5.0.0
with:
node-version: "22"
node-version-file: frontend/.nvmrc
cache: "npm"
cache-dependency-path: frontend/package-lock.json

View File

@@ -25,7 +25,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v5.0.0
with:
node-version: "22"
node-version-file: frontend/.nvmrc
cache: "npm"
cache-dependency-path: frontend/package-lock.json

View File

@@ -37,10 +37,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV NVM_DIR="/root/.nvm"
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash \
&& . "$NVM_DIR/nvm.sh" \
&& nvm install 24.13.1 \
&& nvm use 24.13.1 \
&& nvm alias default 24.13.1
ENV PATH="$NVM_DIR/versions/node/v24.13.1/bin:$PATH"
&& nvm install 24.16.0 \
&& nvm use 24.16.0 \
&& nvm alias default 24.16.0
ENV PATH="$NVM_DIR/versions/node/v24.16.0/bin:$PATH"
# Build and install RAHasher (optional for RA hashes)
RUN git clone --recursive --branch 1.8.3 --depth 1 https://github.com/RetroAchievements/RALibretro.git /tmp/RALibretro

View File

@@ -1,2 +1,3 @@
min-release-age=7
ignore-scripts=true
engine-strict=true

View File

@@ -1 +1 @@
24
24.16

View File

@@ -98,6 +98,8 @@
"vue-tsc": "^2.2.8"
},
"engines": {
"node": "24"
}
"node": "24",
"npm": ">=11.10"
},
"packageManager": "npm@11.13.0"
}