You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm set "//registry.npmjs.org/:_authToken=${NPM_TOKEN}"
106
-
if [ -z "${NPM_TOKEN}" -a "${{ inputs.dry_run }}" == "true" ]; then
112
+
if [ -z "${NODE_AUTH_TOKEN}" -a "${{ inputs.dry_run }}" == "true" ]; then
107
113
echo "Warning: An NPM access token is required for authentication and has not been provided."
108
114
else
109
115
npm whoami
@@ -121,10 +127,9 @@ runs:
121
127
shell: bash
122
128
working-directory: ${{ inputs.package_dir }}
123
129
env:
124
-
NPM_TOKEN: ${{ inputs.api_token }}
130
+
NODE_AUTH_TOKEN: ${{ inputs.api_token }}
125
131
run: |
126
132
echo "Promote '${{ steps.prepare.outputs.package_name }}' package version '${{ steps.prepare.outputs.package_local_version }}' from 'next' to 'latest'"
127
-
npm set "//registry.npmjs.org/:_authToken=${NPM_TOKEN}"
0 commit comments