mirror of
https://code.forgejo.org/pnpm/action-setup.git
synced 2025-06-09 05:31:11 +00: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:
parent
ebcfd6995d
commit
1ee9c9d01d
14 changed files with 237554 additions and 268888 deletions
src/install-pnpm
|
@ -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'],
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue