actions-yarn/action.yml
2019-10-13 23:56:24 +02:00

19 lines
441 B
YAML

name: 'GitHub Action for Yarn'
description: 'Wraps the yarn CLI to enable common yarn commands'
inputs:
cmd:
description: 'Yarn command'
required: true
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 }}