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.ymlindex 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.jsuses: actions/setup-node@v6with:- node-version: "22"+ node-version: "24.18.0"cache: "pnpm"cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yamldiff --git a/.github/workflows/claude-dependabot.yml b/.github/workflows/claude-dependabot.ymlindex 274c6d2cab..184c4852b0 100644--- a/.github/workflows/claude-dependabot.yml+++ b/.github/workflows/claude-dependabot.yml@@ -83,7 +83,7 @@ jobs:- name: Set up Node.jsuses: actions/setup-node@v6with:- node-version: "22"+ node-version: "24.18.0"cache: "pnpm"cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yamldiff --git a/.github/workflows/claude.yml b/.github/workflows/claude.ymlindex 2c724e2498..db8c47f897 100644--- a/.github/workflows/claude.yml+++ b/.github/workflows/claude.yml@@ -96,7 +96,7 @@ jobs:- name: Set up Node.jsuses: actions/setup-node@v6with:- node-version: "22"+ node-version: "24.18.0"cache: "pnpm"cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yamldiff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.ymlindex 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.jsuses: actions/setup-node@v6with:- node-version: "22"+ node-version: "24.18.0"- name: Enable corepackrun: corepack enablediff --git a/.github/workflows/platform-frontend-ci.yml b/.github/workflows/platform-frontend-ci.ymlindex 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 Nodeuses: actions/setup-node@v6with:- 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 Nodeuses: actions/setup-node@v6with:- 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 Nodeuses: actions/setup-node@v6with:- 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 Nodeuses: actions/setup-node@v6with:- node-version: "22.18.0"+ node-version: "24.18.0"cache: "pnpm"cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yamldiff --git a/.github/workflows/platform-fullstack-ci.yml b/.github/workflows/platform-fullstack-ci.ymlindex 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 Nodeuses: actions/setup-node@v6with:- 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 Nodeuses: actions/setup-node@v6with:- 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 Nodeuses: actions/setup-node@v6with:- node-version: "22.18.0"+ node-version: "24.18.0"cache: "pnpm"cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yamldiff --git a/autogpt_platform/frontend/Dockerfile b/autogpt_platform/frontend/Dockerfileindex 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 baseWORKDIR /appRUN corepack enableCOPY autogpt_platform/frontend/package.json autogpt_platform/frontend/pnpm-lock.yaml ./@@ -33,7 +33,7 @@ RUN pnpm run generate:apiRUN 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 prodENV NODE_ENV=productionENV HOSTNAME=0.0.0.0WORKDIR /appdiff --git a/autogpt_platform/frontend/package.json b/autogpt_platform/frontend/package.jsonindex 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",