Renamed authToken to be consistent.
This commit is contained in:
@@ -37,7 +37,7 @@ runs:
|
||||
# Configure npm authentication for the registry (scoped to project)
|
||||
REGISTRY_PATH=$(echo "${{ inputs.registry }}" | sed -E 's|https?://||')
|
||||
npm config set --location=project registry "${{ inputs.registry }}"
|
||||
npm config set --location=project "//${REGISTRY_PATH}:_authToken" "${{ inputs.apiKey }}"
|
||||
npm config set --location=project "//${REGISTRY_PATH}:_apiKey" "${{ inputs.apiKey }}"
|
||||
|
||||
echo "Publishing $TGZ_PATH to ${{ inputs.registry }}"
|
||||
npm publish --location=project "$TGZ_PATH" --access ${{ inputs.access }}
|
||||
|
||||
Reference in New Issue
Block a user