From a3b96ee7f154bf842c5ea5ad18323490c6ce366c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Mon, 12 Oct 2020 11:45:43 +0100 Subject: [PATCH] fix(ci): run percy on storybook config changes --- scripts/percy-skip-deps.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/percy-skip-deps.sh b/scripts/percy-skip-deps.sh index 4ac304fdc..1a6e87f6a 100755 --- a/scripts/percy-skip-deps.sh +++ b/scripts/percy-skip-deps.sh @@ -16,6 +16,9 @@ git log --no-merges --name-only --pretty=format: ${RANGE} | grep -Ev '^$' | sort if [[ "${FILE}" =~ ^ui/src/.+ ]]; then echo "[P] ${FILE}" exit 1 + elif [[ "${FILE}" =~ ^ui/.storybook/.+ ]]; then + echo "[P] ${FILE}" + exit 1 elif [[ "${FILE}" == "ui/package.json" ]]; then echo "[?] ${FILE}" git diff --no-prefix --diff-filter=M --unified=0 ${RANGE} -- ui/package.json | grep -E '^\+ ' | tr -d '":,' | while read I NAME VERSION ; do