From 16ae34dfd14efde2fdfc096bb1f62537691c9508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tha=C3=AFs?= Date: Mon, 6 May 2024 17:49:53 +0200 Subject: [PATCH] fix: fix Chromatic script memory allocation in CI (#5299) --- .github/workflows/ci-front.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yaml index da15066fa..7ab276702 100644 --- a/.github/workflows/ci-front.yaml +++ b/.github/workflows/ci-front.yaml @@ -87,8 +87,7 @@ jobs: touch .env echo "REACT_APP_SERVER_BASE_URL: $REACT_APP_SERVER_BASE_URL" >> .env - name: Publish to Chromatic - run: | - npx nx run twenty-front:chromatic:ci + run: NODE_OPTIONS=--max-old-space-size=5000 npx nx run twenty-front:chromatic:ci front-task: runs-on: ubuntu-latest strategy: