mirror of
https://github.com/pnpm/action-setup.git
synced 2025-07-28 19:09:12 +08:00
feat!: node20 upgrade (#110)
* upgrade versions to latest * remove usage of ts-schema-autogen * fix: update pnpm sources * update build/output * use node20 * fix: run-install array output * fix: maintain behaviour for parseRunInstall, error messages * fix: another edge case for input.args * fix: use zod for input validation * fix: use zod.infer for exported RunInstall types * fix: remove @types/js-yaml --------- Co-authored-by: Zoltan Kochan <z@kochan.io>
This commit is contained in:
134031
src/install-pnpm/pnpm.js
134031
src/install-pnpm/pnpm.js
File diff suppressed because one or more lines are too long
@ -16,7 +16,7 @@ export async function runSelfInstaller(inputs: Inputs): Promise<number> {
|
||||
|
||||
// prepare target pnpm
|
||||
const target = await readTarget({ version, packageJsonFile, standalone })
|
||||
const cp = spawn(execPath, [path.join(__dirname, 'pnpm.js'), 'install', target, '--no-lockfile'], {
|
||||
const cp = spawn(execPath, [path.join(__dirname, 'pnpm.cjs'), 'install', target, '--no-lockfile'], {
|
||||
cwd: dest,
|
||||
stdio: ['pipe', 'inherit', 'inherit'],
|
||||
})
|
||||
|
Reference in New Issue
Block a user