Skip to content

Commit 9269052

Browse files
authored
ci: update chromatic on publish (#828)
1 parent b96f899 commit 9269052

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.circleci/publish.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ then
77
echo "api not working... exiting!"
88
exit 1
99
fi
10+
1011
if [[ `echo $isLatest | jq .isLatest` == "true" ]]
1112
then
1213
cd ..
1314
npm publish --tag latest
15+
npx -y chromatic
1416
else
1517
cd ..
1618
npm publish --tag version-$version

0 commit comments

Comments
 (0)