Update node

This commit is contained in:
thepaperpilot 2024-10-19 06:13:24 -05:00
parent 5ce3e64f5d
commit ccd685cb9c
4 changed files with 19 additions and 4 deletions

View file

@ -9,7 +9,7 @@ jobs:
if: github.repository != 'profectus-engine/Profectus' # Don't build placeholder mod on main repo
runs-on: docker
container:
image: node:20-bullseye
image: node:21-bullseye
steps:
- name: Setup RSync
run: |

View file

@ -8,7 +8,7 @@ jobs:
test:
runs-on: docker
container:
image: node:20-bullseye
image: node:21-bullseye
steps:
- uses: actions/checkout@v3

View file

@ -12,10 +12,10 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Use Node.js 16.x
- name: Use Node.js 21.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 21.x
- run: npm ci
- run: npm run build --if-present
- run: npm test

15
package-lock.json generated
View file

@ -51,6 +51,9 @@
},
"engines": {
"node": "21.x"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.24.0"
}
},
"node_modules/@ampproject/remapping": {
@ -1997,6 +2000,18 @@
}
}
},
"node_modules/@rollup/rollup-linux-x64-gnu": {
"version": "4.24.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.0.tgz",
"integrity": "sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==",
"cpu": [
"x64"
],
"optional": true,
"os": [
"linux"
]
},
"node_modules/@rollup/rollup-win32-x64-msvc": {
"version": "4.24.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.0.tgz",