mirror of
https://github.com/pnpm/action-setup.git
synced 2026-06-29 00:19:02 +00:00
Compare commits
2 Commits
ca34ad01e5
...
c7a612c565
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7a612c565 | ||
|
|
62bce64275 |
BIN
dist/index.js
vendored
BIN
dist/index.js
vendored
Binary file not shown.
@ -101,8 +101,8 @@ Remove one of these versions to avoid version mismatch errors like ERR_PNPM_BAD_
|
||||
}
|
||||
|
||||
if (typeof packageManager === 'string' && packageManager.startsWith('pnpm@')) {
|
||||
// pnpm will handle version management via packageManager field
|
||||
return undefined
|
||||
// Strip the "pnpm@" prefix and any "+sha..." hash suffix
|
||||
return packageManager.replace('pnpm@', '').replace(/\+.*$/, '')
|
||||
}
|
||||
|
||||
if (!GITHUB_WORKSPACE) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user