From 27c682d0a8322667ad3a865e971aeece1b1ae92f Mon Sep 17 00:00:00 2001 From: Lluis Agusti Date: Wed, 25 Jun 2025 14:06:39 +0400 Subject: [PATCH] chore: setup so that it can run on forks --- .github/workflows/platform-frontend-ci.yml | 2 +- autogpt_platform/frontend/.env.example | 3 --- autogpt_platform/frontend/package.json | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/platform-frontend-ci.yml b/.github/workflows/platform-frontend-ci.yml index 62944d7adf..d877b88e5e 100644 --- a/.github/workflows/platform-frontend-ci.yml +++ b/.github/workflows/platform-frontend-ci.yml @@ -80,7 +80,7 @@ jobs: - name: Run Chromatic uses: chromaui/action@latest with: - projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} + projectToken: chpt_9e7c1a76478c9c8 onlyChanged: true workingDir: autogpt_platform/frontend diff --git a/autogpt_platform/frontend/.env.example b/autogpt_platform/frontend/.env.example index db584c0af5..0660979013 100644 --- a/autogpt_platform/frontend/.env.example +++ b/autogpt_platform/frontend/.env.example @@ -38,6 +38,3 @@ NEXT_PUBLIC_TURNSTILE=disabled # Devtools NEXT_PUBLIC_REACT_QUERY_DEVTOOL=true - -# Chromatic -CHROMATIC_PROJECT_TOKEN= diff --git a/autogpt_platform/frontend/package.json b/autogpt_platform/frontend/package.json index c0e36e9a8a..5d8f2f4463 100644 --- a/autogpt_platform/frontend/package.json +++ b/autogpt_platform/frontend/package.json @@ -17,7 +17,6 @@ "gentests": "playwright codegen http://localhost:3000", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", - "chromatic": "pnpm build-storybook && chromatic --project-token=$CHROMATIC_PROJECT_TOKEN", "test-storybook": "test-storybook", "fetch:openapi": "curl http://localhost:8006/openapi.json > ./src/api/openapi.json && prettier --write ./src/api/openapi.json", "generate:api-client": "orval --config ./orval.config.ts",