Defining npm token and registry

This commit is contained in:
Borales 2019-10-13 23:56:24 +02:00
parent a162e275b0
commit 0246406bde
No known key found for this signature in database
GPG Key ID: CDC05EA9067B0EB5

View File

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