action-setup/action.yml

29 lines
681 B
YAML
Raw Normal View History

2020-05-08 18:11:08 +08:00
name: Setup PNPM
2020-05-08 14:22:27 +08:00
description: Install PNPM package manager
2020-05-08 15:48:07 +08:00
branding:
icon: package
color: orange
2020-05-08 14:22:27 +08:00
inputs:
version:
description: Version of PNPM to install
required: true
dest:
description: Where to store PNPM files
required: false
2020-05-08 15:25:08 +08:00
default: ~/setup-pnpm
2020-05-08 14:22:27 +08:00
bin_dest:
description: Where to store executables (pnpm and pnpx commands)
required: false
2020-05-08 15:25:08 +08:00
default: ~/setup-pnpm/.bin
2020-05-08 14:22:27 +08:00
registry:
description: Registry to download PNPM from
required: false
default: https://registry.npmjs.com
2020-05-09 20:13:46 +08:00
run_install:
description: If specified, run `pnpm install`
required: false
default: 'null'
2020-05-08 14:22:27 +08:00
runs:
using: node12
main: dist/index.js