Renamed authToken to be consistent.

This commit is contained in:
2026-01-05 09:30:34 -08:00
parent 4de287d3c8
commit e0af4ec969
7 changed files with 15 additions and 15 deletions

View File

@@ -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 }}