mirror of
https://github.com/pnpm/action-setup.git
synced 2026-06-23 12:27:45 +00:00
making more explicit
This commit is contained in:
parent
81e3dadf1b
commit
acad4f365d
@ -12,7 +12,7 @@ Install pnpm package manager.
|
||||
|
||||
Version of pnpm to install.
|
||||
|
||||
**Optional** when there is a [`packageManager` field or `devEngines.packageManager.version` field in the `package.json`](https://nodejs.org/api/corepack.html).
|
||||
**Optional** when there is a [`packageManager` field or `devEngines.packageManager.name` is equal to "pnpm" and a `devEngines.packageManager.version` field in the `package.json`](https://nodejs.org/api/corepack.html).
|
||||
|
||||
otherwise, this field is **required** It supports npm versioning scheme, it could be an exact version (such as `10.9.8`), or a version range (such as `10`, `10.x.x`, `10.9.x`, `^10.9.8`, `*`, etc.), or `latest`.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user