mirror of
https://github.com/rommapp/romm.git
synced 2026-06-27 22:35:57 +00:00
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:
2
.github/workflows/copilot-setup-steps.yml
vendored
2
.github/workflows/copilot-setup-steps.yml
vendored
@@ -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
|
||||
|
||||
6
.github/workflows/frontend.yml
vendored
6
.github/workflows/frontend.yml
vendored
@@ -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
|
||||
|
||||
|
||||
2
.github/workflows/typecheck.yml
vendored
2
.github/workflows/typecheck.yml
vendored
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
min-release-age=7
|
||||
ignore-scripts=true
|
||||
engine-strict=true
|
||||
|
||||
@@ -1 +1 @@
|
||||
24
|
||||
24.16
|
||||
|
||||
@@ -98,6 +98,8 @@
|
||||
"vue-tsc": "^2.2.8"
|
||||
},
|
||||
"engines": {
|
||||
"node": "24"
|
||||
}
|
||||
"node": "24",
|
||||
"npm": ">=11.10"
|
||||
},
|
||||
"packageManager": "npm@11.13.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user