Skip to content

Commit

Permalink
ci(chromatic): reset baseline to dev (#9746)
Browse files Browse the repository at this point in the history
# Summary

Reset the Chromatic baseline of the epic branch due to invalid snapshots
being accepted. The baseline auto accept is disabled until the snapshots
issues are resolved.

**Snapshots need to be approved/rejected on both the pull request and
the squashed commit on `epic/7180-component-tokens`. Things can get out
of sync again if the new baseline on the epic branch is not
accepted/rejected after installing a PR.**

ref:
https://www.chromatic.com/docs/branching-and-baselines/#what-if-you-accidentally-reset-your-baselines-and-are-seeing-onl
  • Loading branch information
benelan authored Jul 10, 2024
1 parent 5120054 commit be647ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/chromatic-7180.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
zip: true
exitOnceUploaded: true
autoAcceptChanges: epic/7180-component-tokens
workingDir: packages/calcite-components
# Re-enable this option once the snapshots are fixed on the epic branch. Until then, snapshots will need to be
# approved/rejected in both the PR and the commit on epic/7180-component-tokens after installing
# autoAcceptChanges: epic/7180-component-tokens
env:
STORYBOOK_SCREENSHOT_TEST_BUILD: true
CHROMATIC_DIFF_THRESHOLD: ${{ secrets.CHROMATIC_DIFF_THRESHOLD }}
Expand Down

0 comments on commit be647ed

Please sign in to comment.