action-setup/action.yml

30 lines
800 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'
2020-05-08 14:22:27 +08:00
runs:
2023-10-03 17:26:20 +08:00
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