mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-24 23:22:38 +08:00
ci: Parse pnpm ls with jq to prevent buffer overload (#27770)
This commit is contained in:
@@ -20,7 +20,13 @@ import { writeGithubOutput } from './github-helpers.mjs';
|
||||
|
||||
const exec = promisify(child_process.exec);
|
||||
|
||||
const packages = JSON.parse((await exec('pnpm ls -r --only-projects --json')).stdout);
|
||||
const packages = JSON.parse(
|
||||
(
|
||||
await exec(
|
||||
`pnpm ls -r --only-projects --json | jq -r '[.[] | { name:.name, private: .private}]'`,
|
||||
)
|
||||
).stdout,
|
||||
);
|
||||
|
||||
const newPackages = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user