From 0246406bde6fb7e23fee66a32adb09dc2530bccd Mon Sep 17 00:00:00 2001 From: Borales Date: Sun, 13 Oct 2019 23:56:24 +0200 Subject: [PATCH] Defining npm token and registry --- action.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 58f439d..581286a 100644 --- a/action.yml +++ b/action.yml @@ -4,11 +4,15 @@ inputs: cmd: description: 'Yarn command' required: true -outputs: - time: # id of output - description: 'The time we greeted you' + auth-token: + description: 'NPM_AUTH_TOKEN' + registry-url: + description: 'NPM_REGISTRY_URL' runs: using: 'docker' image: 'Dockerfile' args: - ${{ inputs.cmd }} + env: + NPM_AUTH_TOKEN: ${{ inputs.auth-token }} + NPM_REGISTRY_URL: ${{ inputs.registry-url }}