File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -575,10 +575,17 @@ jobs:
575
575
with :
576
576
buildScriptName : " storybook:build"
577
577
exitOnceUploaded : true
578
+ # This will prevent CI from failing when Chromatic detects visual changes
579
+ exitZeroOnChanges : true
578
580
# Chromatic states its fine to make this token public. See:
579
581
# https://www.chromatic.com/docs/github-actions#forked-repositories
580
582
projectToken : 695c25b6cb65
581
583
workingDir : " ./site"
584
+ # Prevent excessive build runs on minor version changes
585
+ skip : " @(renovate/**|dependabot/**)"
586
+ # Run TurboSnap to trace file dependencies to related stories
587
+ # and tell chromatic to only take snapshots of relevent stories
588
+ onlyChanged : true
582
589
583
590
# This is a separate step for mainline only that auto accepts and changes
584
591
# instead of holding CI up. Since we squash/merge, this is defensive to
@@ -594,9 +601,14 @@ jobs:
594
601
STORYBOOK : true
595
602
with :
596
603
autoAcceptChanges : true
604
+ # This will prevent CI from failing when Chromatic detects visual changes
605
+ exitZeroOnChanges : true
597
606
buildScriptName : " storybook:build"
598
607
projectToken : 695c25b6cb65
599
608
workingDir : " ./site"
609
+ # Run TurboSnap to trace file dependencies to related stories
610
+ # and tell chromatic to only take snapshots of relevent stories
611
+ onlyChanged : true
600
612
601
613
offlinedocs :
602
614
name : offlinedocs
You can’t perform that action at this time.
0 commit comments