mirror of
https://github.com/pnpm/action-setup.git
synced 2026-03-07 08:21:45 +08:00
Compare commits
3 Commits
8f1404822d
...
6f71a44c65
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f71a44c65 | ||
|
|
d648c2dd06 | ||
|
|
4b568c8023 |
@ -1,7 +1,3 @@
|
||||
> ## :warning: Upgrade from v2!
|
||||
>
|
||||
> The v2 version of this action [has stopped working](https://github.com/pnpm/action-setup/issues/135) with newer Node.js versions. Please, upgrade to the latest version to fix any issues.
|
||||
|
||||
# Setup pnpm
|
||||
|
||||
Install pnpm package manager.
|
||||
|
||||
@ -64,6 +64,7 @@ async function readTarget(opts: {
|
||||
if (version) {
|
||||
if (
|
||||
typeof packageManager === 'string' &&
|
||||
packageManager.startsWith('pnpm@') &&
|
||||
packageManager.replace('pnpm@', '') !== version
|
||||
) {
|
||||
throw new Error(`Multiple versions of pnpm specified:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user