Renamed authToken to be consistent.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user