From fb99aeb8e3ddede0c3ffc587f00d9f4ed72d9e4a Mon Sep 17 00:00:00 2001 From: khai96_ Date: Sun, 10 May 2020 12:08:45 +0700 Subject: [PATCH] Describe run_install in more details --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 5de2578..7cd93e8 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,24 @@ Install PNPM package manager. **Optional** (_default:_ `null`) If specified, run `pnpm install`. +If `run_install` is either `null` or `false`, pnpm will not install any npm package. + +If `run_install` is `true`, pnpm will install dependencies recursively. + +If `run_install` is a YAML representation of either an object or an array, pnpm will execute every install commands. + +#### `run_install.recursive` + +**Optional** (_type:_ `boolean`, _default:_ `false`) Whether to use `pnpm recursive install`. + +#### `run_install.cwd` + +**Optional** (_type:_ `string`) Working directory when run `pnpm [recursive] install`. + +#### `run_install.args` + +**Optional** (_type:_ `string[]`) Additional arguments after `pnpm [recursive] install`, e.g. `[--frozen-lockfile, --strict-peer-dependencies]`. + ## Outputs ### `dest`