diff --git a/dist/index.js b/dist/index.js index 70480b3..4908eea 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 e626626..5d97954 100644 --- a/src/install-pnpm/run.ts +++ b/src/install-pnpm/run.ts @@ -47,12 +47,7 @@ export async function runSelfInstaller(inputs: Inputs): Promise { // prepare target pnpm const target = await readTarget({ version, packageJsonFile, standalone }) - const installArgs = ['install', target] - if (GITHUB_WORKSPACE) { - installArgs.push('--lockfile-dir', GITHUB_WORKSPACE) - } else { - installArgs.push('--no-lockfile') - } + const installArgs = ['install', target, '--no-lockfile'] const exitCode = await runCommand(bootstrapPnpm, installArgs, { cwd: dest }) if (exitCode === 0) { const pnpmHome = path.join(dest, 'node_modules/.bin')