Skip to content
Permalink
Browse files

Don't run Chromatic on renovate branches, and auto accept changes on …

…master.
  • Loading branch information
ghengeveld committed Dec 8, 2019
1 parent c2ce8f5 commit 3aa68f16804b43e6a769b6fcc335f8165fc7631b
Showing with 8 additions and 1 deletion.
  1. +8 −1 .circleci/config.yml
@@ -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

0 comments on commit 3aa68f1

Please sign in to comment.
You can’t perform that action at this time.