mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-12 16:10:30 +02:00
ci: Parse pnpm ls with jq to prevent buffer overload (#27770)
This commit is contained in:
parent
d9f8f04772
commit
fdf9857344
8
.github/scripts/detect-new-packages.mjs
vendored
8
.github/scripts/detect-new-packages.mjs
vendored
|
|
@ -20,7 +20,13 @@ import { writeGithubOutput } from './github-helpers.mjs';
|
||||||
|
|
||||||
const exec = promisify(child_process.exec);
|
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 = [];
|
const newPackages = [];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user