We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba11bb4 commit bcce38bCopy full SHA for bcce38b
scripts/npm-publish.sh
@@ -5,7 +5,9 @@ echo "Building all packages..."
5
pnpm nx reset
6
pnpm build
7
8
-read -p "Enter NPM OTP: " OTP
+if [ -z "$NPM_TOKEN" ]; then
9
+ read -p "Enter NPM OTP: " OTP
10
+fi
11
12
echo "NPM: Publishing all packages"
13
# If NPM_TOKEN is set (CI environment), use it
0 commit comments