From 27be23a64126a45b1e15ade89f502f6c0e7e1a77 Mon Sep 17 00:00:00 2001 From: Mihaly Lengyel Date: Wed, 29 May 2024 11:13:05 +0200 Subject: [PATCH] ci: update chromatic on publish --- .circleci/publish.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/publish.sh b/.circleci/publish.sh index cbaff636a..e46774199 100755 --- a/.circleci/publish.sh +++ b/.circleci/publish.sh @@ -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