mirror of
https://github.com/seepine/action-setup-pnpm.git
synced 2025-01-31 15:57:08 +08:00
19 lines
833 B
Markdown
19 lines
833 B
Markdown
# actions-setup-pnpm
|
|
|
|
> Use corepack, if you want to set pnpm version, setting the packageManager field in package.json like `"packageManager":"pnpm@8.10.2"`
|
|
|
|
## Usage
|
|
|
|
```yml
|
|
- name: Setup pnpm and Install
|
|
uses: seepine/actions-setup-pnpm@v1
|
|
```
|
|
|
|
## Input
|
|
|
|
|
|
| Output Item | Description | Required | Default |
|
|
| ------------ | ------------------------------------------------------------------------------------------------------ | -------- | ------- |
|
|
| run_instasll | The working dir for the action | false | true |
|
|
| cwd | Changes node's process.cwd() if the project is not located on the root. Default to process.cwd() files | false | . |
|