name: "Chromatic" on: push: branches: [develop] pull_request: branches: [develop, staging, main] jobs: chromatic: timeout-minutes: 30 runs-on: "ubuntu-latest" env: CI: "1" TZ: "Europe/Paris" DO_NOT_TRACK: "1" TURBO_TELEMETRY_DISABLED: "1" NEXT_TELEMETRY_DISABLED: "1" STORYBOOK_DISABLE_TELEMETRY: "1" steps: - uses: "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1" # v7.0.1 with: fetch-depth: 0 - uses: "pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413" # v6.1.0 - name: "Setup Node.js" uses: "actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1" # v7.1.0 with: node-version: "26.12.1" cache: "pnpm" - run: "node --version" - name: "Install dependencies" run: "pnpm clean-install" - name: "Run Chromatic" uses: "chromaui/action@5bcadb5104b09e360e210c54f95a7437c2d82bab" # v18.13.3 with: projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} workingDir: "apps/storybook"