File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ jobs:
163163 npm_exit=0
164164 npm --silent view "${PACKAGE_NAME}@${RELEASE_VERSION}" version --json >"$NPM_VIEW_OUTPUT" 2>&1 || npm_exit=$?
165165
166- if [[ "$npm_exit" == "0" ]]; then
166+ if [[ "$npm_exit" -eq 0 ]]; then
167167 echo "${PACKAGE_NAME}@${RELEASE_VERSION} is already published." >&2
168168 cat "$NPM_VIEW_OUTPUT" >&2
169169 exit 1
@@ -209,7 +209,7 @@ jobs:
209209
210210 # No npm auth token secret is configured; npm uses GitHub OIDC trusted publishing.
211211 # Keep the package prepublishOnly build as a publish-time artifact safety net.
212- npm publish --provenance --access public -- tag "$NPM_TAG"
212+ npm publish --provenance --tag "$NPM_TAG"
213213
214214 - name : Create local release tag
215215 env :
@@ -252,7 +252,7 @@ jobs:
252252 break
253253 fi
254254
255- if [[ "$attempt" == "12" ]]; then
255+ if [[ "$attempt" -eq 12 ]]; then
256256 echo "Published package ${PACKAGE_NAME}@${RELEASE_VERSION} was not visible after retries." >&2
257257 exit 1
258258 fi
You can’t perform that action at this time.
0 commit comments