mirror of
https://github.com/pnpm/action-setup.git
synced 2026-06-18 17:37:41 +00:00
.
This commit is contained in:
parent
55f495cd02
commit
716d1d94d7
@ -129,7 +129,7 @@ function readTargetVersion(opts: {
|
||||
if (definedVersions.size > 1) {
|
||||
throw new Error(`Multiple conflicting pnpm versions specified:
|
||||
- version ${version} in the GitHub Action config with the key "version"
|
||||
- version ${packageManager} in the package.json with the key "packageManager"
|
||||
- version ${packageManagerVersion} in the package.json with the key "packageManager"
|
||||
- version ${devEnginesVersion} in the package.json with the key "devEngines.packageManager"
|
||||
Remove conflicting versions to avoid version mismatch errors like ERR_PNPM_BAD_PM_VERSION`)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user