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@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2 with: fetch-depth: 0 - uses: "pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d" # v6.0.5 - name: "Setup Node.js" uses: "actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e" # v6.4.0 with: node-version: "24.15.0" cache: "pnpm" - run: "node --version" - name: "Install dependencies" run: "pnpm clean-install" - name: "Run Chromatic" uses: "chromaui/action@a200f3ba3ff81232c47ac7942347fb212b1a67dc" # latest with: projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} workingDir: "apps/storybook"