chore(deps): update react monorepo to v19 (major) #37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Chromatic Visual Regression Testing | |
| # https://www.chromatic.com/docs/github-actions/ | |
| name: Chromatic | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| chromatic: | |
| name: Run Chromatic | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Pnpm | |
| run: npm install -g corepack@latest --force && corepack enable | |
| - name: Setup Node.js | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 | |
| with: | |
| node-version: 24.14.1 | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build Storybook | |
| run: pnpm run build-storybook | |
| - name: Run Chromatic | |
| uses: chromaui/action@8a2b82547aef5a3efc8ec3c7905f4ab09a76ed0b # latest | |
| with: | |
| projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
| # Use the pre-built Storybook | |
| storybookBuildDir: storybook-static | |
| # Auto accept changes on main branch (for squash/rebase merge) | |
| autoAcceptChanges: main | |
| # Don't fail CI when there are visual changes - require review in Chromatic UI | |
| exitZeroOnChanges: true | |
| # Skip builds for dependabot/renovate branches | |
| skip: '@(renovate/**|dependabot/**)' |