mirror of
https://github.com/pnpm/action-setup
synced 2026-11-22 03:57:39 +01: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:
1 parent
ebcfd6995d
commit
1ee9c9d01d
14 files changed
+237554
-268888
No files matched your search
-134031
File diff suppressed because it is too large.
Load diff
@@ -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