1ee9c9d01d
* upgrade versions to latest * remove usage of ts-schema-autogen * fix: update pnpm sources * update build/output * use node20 * fix: run-install array output * fix: maintain behaviour for parseRunInstall, error messages * fix: another edge case for input.args * fix: use zod for input validation * fix: use zod.infer for exported RunInstall types * fix: remove @types/js-yaml --------- Co-authored-by: Zoltan Kochan <z@kochan.io>
30 lines
800 B
YAML
30 lines
800 B
YAML
name: Setup pnpm
|
|
description: Install pnpm package manager
|
|
branding:
|
|
icon: package
|
|
color: orange
|
|
inputs:
|
|
version:
|
|
description: Version of pnpm to install
|
|
required: false
|
|
dest:
|
|
description: Where to store pnpm files
|
|
required: false
|
|
default: ~/setup-pnpm
|
|
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'
|
|
runs:
|
|
using: node20
|
|
main: dist/index.js
|
|
post: dist/index.js
|