Skip to content

Commit

Permalink
ci: update chromatic on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed May 29, 2024
1 parent b96f899 commit 27be23a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ then
echo "api not working... exiting!"
exit 1
fi

if [[ `echo $isLatest | jq .isLatest` == "true" ]]
then
cd ..
npm publish --tag latest
npx -y chromatic
else
cd ..
npm publish --tag version-$version
Expand Down

0 comments on commit 27be23a

Please sign in to comment.