mirror of
https://github.com/pnpm/action-setup.git
synced 2025-07-06 01:53:14 +08:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
77504a59bc | ||
|
d648c2dd06 |
@ -117,7 +117,7 @@ jobs:
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10
|
||||
run_install: |
|
||||
run_install:
|
||||
- recursive: true
|
||||
args: [--frozen-lockfile, --strict-peer-dependencies]
|
||||
- args: [--global, gulp, prettier, typescript]
|
||||
|
@ -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…
x
Reference in New Issue
Block a user