fix: pnpm path
Node.js CI / CI (push) Failing after 8s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m5s

This commit is contained in:
2026-02-03 17:23:13 -08:00
parent e259236248
commit c74e35ea5f
+2 -1
View File
@@ -119,7 +119,8 @@ const updatePackageAndCommit = async(
await writeFile(packageJsonPath, `${JSON.stringify(packageJson, null, 2)}\n`); await writeFile(packageJsonPath, `${JSON.stringify(packageJson, null, 2)}\n`);
void logger.log("info", `Running pnpm install for ${packageName}...`); void logger.log("info", `Running pnpm install for ${packageName}...`);
await execAsync("pnpm install --no-frozen-lockfile", { cwd: repoPath }); const pnpmPath = "/home/naomi/.local/share/pnpm/pnpm";
await execAsync(`${pnpmPath} install --no-frozen-lockfile`, { cwd: repoPath });
await runGitCommand(logger, repoPath, "git add package.json pnpm-lock.yaml"); await runGitCommand(logger, repoPath, "git add package.json pnpm-lock.yaml");
const commitMessage = `deps: update ${packageName} to ${targetVersion}`; const commitMessage = `deps: update ${packageName} to ${targetVersion}`;