mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-03-29 09:02:17 +08:00
22 lines
485 B
YAML
22 lines
485 B
YAML
name: 'GitHub Action for Yarn'
|
|
description: 'Wraps the yarn CLI to enable common yarn commands'
|
|
branding:
|
|
icon: 'package'
|
|
color: 'blue'
|
|
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 }}
|