action-setup/action.yml

26 lines
607 B
YAML
Raw 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" configutation
required: false
default: 'package.json'
2020-05-08 14:22:27 +08:00
runs:
using: node16
2020-05-08 14:22:27 +08:00
main: dist/index.js
2020-05-09 22:02:32 +08:00
post: dist/index.js