Skip to content

Commit

Permalink
Don't run Chromatic on renovate branches, and auto accept changes on …
Browse files Browse the repository at this point in the history
…master.
  • Loading branch information
ghengeveld committed Dec 8, 2019
1 parent c2ce8f5 commit 3aa68f1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,14 @@ jobs:
- checkout
- attach_workspace:
at: .
- run: yarn test:chromatic
- run: |
if [[ "${CIRCLE_BRANCH}" == renovate/* ]]; then
echo "Skipping Chromatic"
elif [ "${CIRCLE_BRANCH}" == "master" ]; then
yarn test:chromatic --auto-accept-changes
else
yarn test:chromatic
fi
workflows:
version: 2
Expand Down

0 comments on commit 3aa68f1

Please sign in to comment.