From ccd685cb9c3b21a6eda1c9d9cbf14d8a2798c4f8 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sat, 19 Oct 2024 06:13:24 -0500 Subject: [PATCH] Update node --- .forgejo/workflows/deploy.yaml | 2 +- .forgejo/workflows/test.yaml | 2 +- .github/workflows/test.yml | 4 ++-- package-lock.json | 15 +++++++++++++++ 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 3f43448..6b767f3 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -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: | diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index 7ce6617..67e39a8 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -8,7 +8,7 @@ jobs: test: runs-on: docker container: - image: node:20-bullseye + image: node:21-bullseye steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8d6b548..3db2cb7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/package-lock.json b/package-lock.json index b93db3e..f0135da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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",