diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6299b63..38d72a4 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -214,6 +214,8 @@ jobs: manifest: '{"packageManager":"pnpm@10.33.0","dependencies":{"is-odd":"3.0.1"}}' - label: 'devEngines exact pnpm@10.33.0' manifest: '{"devEngines":{"packageManager":{"name":"pnpm","version":"10.33.0"}},"dependencies":{"is-odd":"3.0.1"}}' + - label: 'devEngines range >=10 <11' + manifest: '{"devEngines":{"packageManager":{"name":"pnpm","version":">=10 <11"}},"dependencies":{"is-odd":"3.0.1"}}' steps: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 diff --git a/dist/index.js b/dist/index.js index 18061f1..c675785 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/src/install-pnpm/run.ts b/src/install-pnpm/run.ts index 9bca9dc..3c1ccea 100644 --- a/src/install-pnpm/run.ts +++ b/src/install-pnpm/run.ts @@ -84,43 +84,31 @@ export async function runSelfInstaller(inputs: Inputs): Promise { return new Promise((resolve) => { const cp = spawn('node', ['--version'], { stdio: ['pipe', 'pipe', 'pipe'], shell: process.platform === 'win32' })