mirror of
https://github.com/seepine/action-setup-pnpm.git
synced 2025-01-18 22:46:36 +08:00
fix: install_cmd add shamefully-hoist
This commit is contained in:
parent
fbfd35d066
commit
6b6db5375b
@ -16,7 +16,7 @@ It will setup pnpm and run `pnpm install`.
|
|||||||
| Output Item | Description | Required | Default |
|
| Output Item | Description | Required | Default |
|
||||||
| ------------ | ------------------------------------------------------------------------------------------------------ | -------- | ------- |
|
| ------------ | ------------------------------------------------------------------------------------------------------ | -------- | ------- |
|
||||||
| run_install | If specified, run pnpm install. | false | true |
|
| run_install | If specified, run pnpm install. | false | true |
|
||||||
| install_cmd | Default install cmd is <pnpm install --frozen-lockfile --prefer-offline> | false | - |
|
| install_cmd | Default install cmd is <pnpm install --frozen-lockfile --prefer-offline --shamefully-hoist> | false | <...> |
|
||||||
| enable-corepack | Enable corepack, not use pnpm/action-setup action | false | true |
|
| enable-corepack | Enable corepack, not use pnpm/action-setup action | false | true |
|
||||||
| verison | Only enable-corepack false, If you're not setting the packageManager field in package.json, set the version here | false | 8 |
|
| verison | Only enable-corepack false, If you're not setting the packageManager field in package.json, set the version here | false | 8 |
|
||||||
| cwd | Changes node's process.cwd() if the project is not located on the root. Default to process.cwd() files | false | . |
|
| cwd | Changes node's process.cwd() if the project is not located on the root. Default to process.cwd() files | false | . |
|
||||||
|
@ -10,9 +10,9 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
default: 'true'
|
default: 'true'
|
||||||
install_cmd:
|
install_cmd:
|
||||||
description: "Default install cmd is <pnpm install --frozen-lockfile --prefer-offline>"
|
description: "Default install cmd is <pnpm install --frozen-lockfile --prefer-offline --shamefully-hoist>"
|
||||||
required: false
|
required: false
|
||||||
default: 'pnpm install --frozen-lockfile --prefer-offline'
|
default: 'pnpm install --frozen-lockfile --prefer-offline --shamefully-hoist'
|
||||||
enable-corepack:
|
enable-corepack:
|
||||||
description: "Enable corepack"
|
description: "Enable corepack"
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user