mirror of
https://github.com/pnpm/action-setup.git
synced 2026-07-02 18:41:47 +00:00
Compare commits
1 Commits
19566048c2
...
373574958f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
373574958f |
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