Skip to content

Commit 3aa68f1

Browse files
committed
Don't run Chromatic on renovate branches, and auto accept changes on master.
1 parent c2ce8f5 commit 3aa68f1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.circleci/config.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,14 @@ jobs:
6969
- checkout
7070
- attach_workspace:
7171
at: .
72-
- run: yarn test:chromatic
72+
- run: |
73+
if [[ "${CIRCLE_BRANCH}" == renovate/* ]]; then
74+
echo "Skipping Chromatic"
75+
elif [ "${CIRCLE_BRANCH}" == "master" ]; then
76+
yarn test:chromatic --auto-accept-changes
77+
else
78+
yarn test:chromatic
79+
fi
7380
7481
workflows:
7582
version: 2

0 commit comments

Comments
 (0)