pnpm-setup/action.yml

30 lines
800 B
YAML
Raw Normal View History

2022-05-28 14:23:43 +00:00
name: Setup pnpm
description: Install pnpm package manager
2020-05-08 07:48:07 +00:00
branding:
icon: package
color: orange
2020-05-08 06:22:27 +00:00
inputs:
version:
2022-05-28 14:23:43 +00:00
description: Version of pnpm to install
required: false
2020-05-08 06:22:27 +00:00
dest:
2022-05-28 14:23:43 +00:00
description: Where to store pnpm files
2020-05-08 06:22:27 +00:00
required: false
2020-05-08 07:25:08 +00:00
default: ~/setup-pnpm
2020-05-09 12:13:46 +00: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'
2020-05-08 06:22:27 +00:00
runs:
using: node16
2020-05-08 06:22:27 +00:00
main: dist/index.js
2020-05-09 14:02:32 +00:00
post: dist/index.js