fix: fix storybook pages tests coverage (#5319)

This commit is contained in:
Thaïs
2024-05-07 21:05:45 +02:00
committed by GitHub
parent ce4e78aa85
commit b7a2e72c32
10 changed files with 129 additions and 47 deletions

View File

@ -38,7 +38,7 @@ jobs:
- name: Front / Write .env
run: npx nx reset:env twenty-front
- name: Front / Build storybook
run: NODE_OPTIONS=--max-old-space-size=5000 npx nx storybook:build twenty-front
run: npx nx storybook:build twenty-front
front-sb-test:
runs-on: ci-8-cores
needs: front-sb-build
@ -87,7 +87,7 @@ jobs:
touch .env
echo "REACT_APP_SERVER_BASE_URL: $REACT_APP_SERVER_BASE_URL" >> .env
- name: Publish to Chromatic
run: NODE_OPTIONS=--max-old-space-size=5000 npx nx run twenty-front:chromatic:ci
run: npx nx run twenty-front:chromatic:ci
front-task:
runs-on: ubuntu-latest
strategy: