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 0c92510 commit 47a4d94Copy full SHA for 47a4d94
.github/scripts/publish_canary.sh
@@ -4,8 +4,13 @@
4
5
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc
6
7
+if [[ -z "$NPM_AUTH_TOKEN" ]]; then
8
+ echo "Error: NPM_AUTH_TOKEN is not set or is empty"
9
+ exit 1
10
+fi
11
+
12
TAG='canary' && [[ "$GITHUB_REF_NAME" = 'next' ]] && TAG='next'
-echo "Publishing $TAG"
13
+echo "Publishing $TAG from $GITHUB_REF_NAME using npm token ${NPM_AUTH_TOKEN:0:5}"
14
15
args=()
16
0 commit comments