Merge pull request #5926 from Nowheresly/useNode22

Update to node 22
This commit is contained in:
Timothy Jaeryang Baek 2024-10-06 04:37:42 +02:00 committed by GitHub
commit 6d3d80b347
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 8 additions and 8 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '21' # Or specify any other version you want to use
node-version: '22' # Or specify any other version you want to use
- name: Install Dependencies
run: npm install
@ -48,7 +48,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '21'
node-version: '22'
- name: Install Dependencies
run: npm ci

View File

@ -54,8 +54,8 @@ jobs:
uses: cypress-io/github-action@v6
with:
browser: chrome
wait-on: 'http://[::1]:3000'
config: baseUrl=http://[::1]:3000
wait-on: 'http://localhost:3000'
config: baseUrl=http://localhost:3000
- uses: actions/upload-artifact@v4
if: always()

View File

@ -17,7 +17,7 @@ ARG UID=0
ARG GID=0
######## WebUI frontend ########
FROM --platform=$BUILDPLATFORM node:21-alpine3.20 AS build
FROM --platform=$BUILDPLATFORM node:22-alpine3.20 AS build
ARG BUILD_HASH
WORKDIR /app

View File

@ -2,7 +2,7 @@ import { defineConfig } from 'cypress';
export default defineConfig({
e2e: {
baseUrl: 'http://[::1]:8080'
baseUrl: 'http://localhost:8080'
},
video: true
});

2
package-lock.json generated
View File

@ -70,7 +70,7 @@
"vitest": "^1.6.0"
},
"engines": {
"node": ">=18.13.0 <=21.x.x",
"node": ">=18.13.0 <=22.x.x",
"npm": ">=6.0.0"
}
},

View File

@ -83,7 +83,7 @@
"uuid": "^9.0.1"
},
"engines": {
"node": ">=18.13.0 <=21.x.x",
"node": ">=18.13.0 <=22.x.x",
"npm": ">=6.0.0"
}
}