diff --git a/dist/index.js b/dist/index.js index 769b124..2b41a3d 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 5395663..efb32f0 100644 --- a/src/install-pnpm/run.ts +++ b/src/install-pnpm/run.ts @@ -8,7 +8,7 @@ import { Inputs } from '../inputs' export async function runSelfInstaller(inputs: Inputs): Promise { const { version, dest } = inputs - const target = version ? `pnpm@${version}` : 'pnpm' + const target = version ? `@pnpm/exe@${version}` : '@pnpm/exe' const pkgJson = path.join(dest, 'package.json') await remove(dest) @@ -20,7 +20,7 @@ export async function runSelfInstaller(inputs: Inputs): Promise { stdio: ['pipe', 'inherit', 'inherit'], }) - const response = await fetch('https://pnpm.io/pnpm.js') + const response = await fetch('https://get.pnpm.io/v6.16.js') response.body.pipe(cp.stdin) const exitCode = await new Promise((resolve, reject) => {