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@0977fd99725f1db4007ccb2928dbb4e90d06cc86" # v6.0.10 - name: "Setup Node.js" uses: "actions/setup-node@820762786026740c76f36085b0efc47a31fe5020" # v7.0.0 with: node-version: "26.7.0" cache: "pnpm" - run: "node --version" - name: "Install dependencies" run: "pnpm clean-install" - name: "Run Chromatic" uses: "chromaui/action@534eebfc19023579541d106f7b61d5ad70ed65c7" # latest with: projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} workingDir: "apps/storybook"