mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
fix(ci): run percy on storybook config changes
This commit is contained in:
committed by
Łukasz Mierzwa
parent
f57cf94849
commit
a3b96ee7f1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user