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

@@ -24,7 +24,7 @@ inputs:
description: "NPM registry URL."
required: false
default: ${{ github.server_url }}/api/packages/${{ github.repository_owner }}/npm/
authToken:
apiKey:
description: "Authentication token for the registry."
required: true
default: "{{ github.token }}"
@@ -58,6 +58,6 @@ runs:
- name: "Run npm diff"
id: diff
env:
NODE_AUTH_TOKEN: ${{ inputs.authToken }}
NODE_AUTH_TOKEN: ${{ inputs.apiKey }}
run: bash ${{ github.action_path }}/npm_diff.sh "${{ inputs.name }}" "${{ inputs.lhsVersion }}" "${{ inputs.rhsVersion }}" "${{ inputs.workingDirectory }}" "${{ inputs.registry }}" "${{ inputs.diffOptions }}" "${{ inputs.outputFile }}" "${{ inputs.failOnDifferences }}"
shell: bash