mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-04-15 02:52:16 +08:00
Defining npm token and registry
This commit is contained in:
parent
a162e275b0
commit
0246406bde
10
action.yml
10
action.yml
@ -4,11 +4,15 @@ inputs:
|
|||||||
cmd:
|
cmd:
|
||||||
description: 'Yarn command'
|
description: 'Yarn command'
|
||||||
required: true
|
required: true
|
||||||
outputs:
|
auth-token:
|
||||||
time: # id of output
|
description: 'NPM_AUTH_TOKEN'
|
||||||
description: 'The time we greeted you'
|
registry-url:
|
||||||
|
description: 'NPM_REGISTRY_URL'
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'Dockerfile'
|
image: 'Dockerfile'
|
||||||
args:
|
args:
|
||||||
- ${{ inputs.cmd }}
|
- ${{ inputs.cmd }}
|
||||||
|
env:
|
||||||
|
NPM_AUTH_TOKEN: ${{ inputs.auth-token }}
|
||||||
|
NPM_REGISTRY_URL: ${{ inputs.registry-url }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user