action-setup/action.yml

35 lines
930 B
YAML
Raw Permalink Normal View History

2022-05-28 22:23:43 +08:00
name: Setup pnpm
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:
2022-05-28 22:23:43 +08:00
description: Version of pnpm to install
required: false
2020-05-08 14:22:27 +08:00
dest:
2022-05-28 22:23:43 +08:00
description: Where to store pnpm files
2020-05-08 14:22:27 +08:00
required: false
2020-05-08 15:25:08 +08:00
default: ~/setup-pnpm
2020-05-09 20:13:46 +08:00
run_install:
description: If specified, run `pnpm install`
required: false
default: 'null'
package_json_file:
description: File path to the package.json to read "packageManager" configuration
required: false
default: 'package.json'
standalone:
description: When set to true, @pnpm/exe, which is a Node.js bundled package, will be installed, enabling using pnpm without Node.js.
required: false
default: 'false'
outputs:
dest:
description: Expanded path of inputs#dest
bin_dest:
description: Location of `pnpm` and `pnpx` command
2020-05-08 14:22:27 +08:00
runs:
using: node20
2020-05-08 14:22:27 +08:00
main: dist/index.js
2020-05-09 22:02:32 +08:00
post: dist/index.js