diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5e49115856..e9933a0f89 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -575,10 +575,17 @@ jobs: with: buildScriptName: "storybook:build" exitOnceUploaded: true + # This will prevent CI from failing when Chromatic detects visual changes + exitZeroOnChanges: true # Chromatic states its fine to make this token public. See: # https://www.chromatic.com/docs/github-actions#forked-repositories projectToken: 695c25b6cb65 workingDir: "./site" + # Prevent excessive build runs on minor version changes + skip: "@(renovate/**|dependabot/**)" + # Run TurboSnap to trace file dependencies to related stories + # and tell chromatic to only take snapshots of relevent stories + onlyChanged: true # This is a separate step for mainline only that auto accepts and changes # instead of holding CI up. Since we squash/merge, this is defensive to @@ -594,9 +601,14 @@ jobs: STORYBOOK: true with: autoAcceptChanges: true + # This will prevent CI from failing when Chromatic detects visual changes + exitZeroOnChanges: true buildScriptName: "storybook:build" projectToken: 695c25b6cb65 workingDir: "./site" + # Run TurboSnap to trace file dependencies to related stories + # and tell chromatic to only take snapshots of relevent stories + onlyChanged: true offlinedocs: name: offlinedocs