From f8b8da37a7a8228026224b1470deeb4f2a179343 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Mar 2026 22:38:34 +0000 Subject: [PATCH 1/2] Initial plan From 7d247e1c6f44db3b33a2144004c4fd7f1f0e9b65 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Mar 2026 22:40:17 +0000 Subject: [PATCH 2/2] Upgrade Node.js to 22 and 24 (last 2 LTS versions) Co-authored-by: decyjphr <57544838+decyjphr@users.noreply.github.com> --- .github/workflows/create-pre-release.yml | 2 +- .github/workflows/create-release.yml | 2 +- .github/workflows/node-ci.yml | 4 ++-- .github/workflows/rc-release.yml | 2 +- .nvmrc | 2 +- Dockerfile | 2 +- package.json | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/create-pre-release.yml b/.github/workflows/create-pre-release.yml index 06f82211b..1f8b0df41 100644 --- a/.github/workflows/create-pre-release.yml +++ b/.github/workflows/create-pre-release.yml @@ -46,7 +46,7 @@ jobs: - name: Setup node uses: actions/setup-node@v6 with: - node-version: 16.x + node-version: 22.x cache: 'npm' - run: npm install - name: Set up Docker Buildx diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 0e6a4e312..6c7e9c4c0 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -24,7 +24,7 @@ jobs: - name: Setup node uses: actions/setup-node@v6 with: - node-version: 16.x + node-version: 22.x cache: "npm" - run: npm install - name: Set up Docker Buildx diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 38d46ad40..216643986 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -25,5 +25,5 @@ jobs: strategy: matrix: node-version: - - 18 - - 20 + - 22 + - 24 diff --git a/.github/workflows/rc-release.yml b/.github/workflows/rc-release.yml index e5e98a40e..9f257e5b1 100644 --- a/.github/workflows/rc-release.yml +++ b/.github/workflows/rc-release.yml @@ -27,7 +27,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: 16.x + node-version: 22.x cache: npm - run: npm ci - run: npm run build --if-present diff --git a/.nvmrc b/.nvmrc index 9a2a0e219..53d1c14db 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20 +v22 diff --git a/Dockerfile b/Dockerfile index 5c2fcdf54..38db6b50b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine +FROM node:22-alpine WORKDIR /opt/safe-settings ENV NODE_ENV production ## Set the Labels diff --git a/package.json b/package.json index 59002a87c..1aa3929cf 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ ] }, "engines": { - "node": ">= 16.0.0" + "node": ">= 22.0.0" }, "jest": { "testEnvironment": "node",