Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

chore(frontend): update to Node 24 LTS (#13492)

Ubbe8ae045b3a5c0
diff --git a/.github/workflows/claude-ci-failure-auto-fix.yml b/.github/workflows/claude-ci-failure-auto-fix.yml
index dbca6dc3f3..ac3b5afc4a 100644
--- a/.github/workflows/claude-ci-failure-auto-fix.yml
+++ b/.github/workflows/claude-ci-failure-auto-fix.yml
@@ -74,7 +74,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v6
with:
- node-version: "22"
+ node-version: "24.18.0"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
diff --git a/.github/workflows/claude-dependabot.yml b/.github/workflows/claude-dependabot.yml
index 274c6d2cab..184c4852b0 100644
--- a/.github/workflows/claude-dependabot.yml
+++ b/.github/workflows/claude-dependabot.yml
@@ -83,7 +83,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v6
with:
- node-version: "22"
+ node-version: "24.18.0"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml
index 2c724e2498..db8c47f897 100644
--- a/.github/workflows/claude.yml
+++ b/.github/workflows/claude.yml
@@ -96,7 +96,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v6
with:
- node-version: "22"
+ node-version: "24.18.0"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml
index dad99cb8d9..f5d82495a0 100644
--- a/.github/workflows/copilot-setup-steps.yml
+++ b/.github/workflows/copilot-setup-steps.yml
@@ -78,7 +78,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v6
with:
- node-version: "22"
+ node-version: "24.18.0"
- name: Enable corepack
run: corepack enable
diff --git a/.github/workflows/platform-frontend-ci.yml b/.github/workflows/platform-frontend-ci.yml
index 52341d8c92..ff17a478a8 100644
--- a/.github/workflows/platform-frontend-ci.yml
+++ b/.github/workflows/platform-frontend-ci.yml
@@ -54,7 +54,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v6
with:
- node-version: "22.18.0"
+ node-version: "24.18.0"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
@@ -77,7 +77,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v6
with:
- node-version: "22.18.0"
+ node-version: "24.18.0"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
@@ -110,7 +110,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v6
with:
- node-version: "22.18.0"
+ node-version: "24.18.0"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
@@ -144,7 +144,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v6
with:
- node-version: "22.18.0"
+ node-version: "24.18.0"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
diff --git a/.github/workflows/platform-fullstack-ci.yml b/.github/workflows/platform-fullstack-ci.yml
index ab7ed0c138..c29412b2e1 100644
--- a/.github/workflows/platform-fullstack-ci.yml
+++ b/.github/workflows/platform-fullstack-ci.yml
@@ -41,7 +41,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v6
with:
- node-version: "22.18.0"
+ node-version: "24.18.0"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
@@ -101,7 +101,7 @@ jobs:
- name: Set up Frontend - Set up Node
uses: actions/setup-node@v6
with:
- node-version: "22.18.0"
+ node-version: "24.18.0"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
@@ -291,7 +291,7 @@ jobs:
- name: Set up tests - Set up Node
uses: actions/setup-node@v6
with:
- node-version: "22.18.0"
+ node-version: "24.18.0"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
diff --git a/autogpt_platform/frontend/Dockerfile b/autogpt_platform/frontend/Dockerfile
index 58ce906cd4..13c4360e0c 100644
--- a/autogpt_platform/frontend/Dockerfile
+++ b/autogpt_platform/frontend/Dockerfile
@@ -1,5 +1,5 @@
# Base stage for both dev and prod
-FROM node:22.22-alpine3.23 AS base
+FROM node:24.18-alpine3.23 AS base
WORKDIR /app
RUN corepack enable
COPY autogpt_platform/frontend/package.json autogpt_platform/frontend/pnpm-lock.yaml ./
@@ -33,7 +33,7 @@ RUN pnpm run generate:api
RUN if [ "$NEXT_PUBLIC_PW_TEST" = "true" ]; then NEXT_PUBLIC_PW_TEST=true NODE_OPTIONS="--max-old-space-size=8192" pnpm build; else NODE_OPTIONS="--max-old-space-size=8192" pnpm build; fi
# Prod stage - based on NextJS reference Dockerfile https://github.com/vercel/next.js/blob/64271354533ed16da51be5dce85f0dbd15f17517/examples/with-docker/Dockerfile
-FROM node:22.22-alpine3.23 AS prod
+FROM node:24.18-alpine3.23 AS prod
ENV NODE_ENV=production
ENV HOSTNAME=0.0.0.0
WORKDIR /app
diff --git a/autogpt_platform/frontend/package.json b/autogpt_platform/frontend/package.json
index ea025b0fce..0e94f23d55 100644
--- a/autogpt_platform/frontend/package.json
+++ b/autogpt_platform/frontend/package.json
@@ -3,7 +3,7 @@
"version": "0.3.4",
"private": true,
"engines": {
- "node": "22.x"
+ "node": "24.x"
},
"scripts": {
"dev": "pnpm run generate:api:force && next dev --turbo",