mirror of
https://github.com/pnpm/action-setup.git
synced 2026-07-03 10:55:38 +00:00
Compare commits
1 Commits
c7a612c565
...
ca34ad01e5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca34ad01e5 |
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@')) {
|
if (typeof packageManager === 'string' && packageManager.startsWith('pnpm@')) {
|
||||||
// Strip the "pnpm@" prefix and any "+sha..." hash suffix
|
// pnpm will handle version management via packageManager field
|
||||||
return packageManager.replace('pnpm@', '').replace(/\+.*$/, '')
|
return undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!GITHUB_WORKSPACE) {
|
if (!GITHUB_WORKSPACE) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user