Skip to content

The open alternative to Salesforce, designed for AI.

fix: fix Chromatic script memory allocation in CI (#5299)

Thaïs16ae34dfd14e
diff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yaml
index da15066fadc..7ab2767020b 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: