ci(runner): install only Chromium headless shell

This commit is contained in:
Dotta committed 2026-09-04 02:26:19 -05:00
1 parent 6a8d4c597c
commit fca39344b1
2 files changed
+9 -3

No files matched your search

@@ -238,6 +238,12 @@ describe("public repository paid workflow security", () => {
expect(paidJob).toMatch(
/Reauthorize paid execution before provider access[\s\S]*actions\/checkout@[0-9a-f]{40}[\s\S]*persist-credentials: false[\s\S]*Download resolved target lockfile/,
);
expect(paidJob).toContain(
"pnpm exec playwright install --with-deps --only-shell chromium",
);
expect(paidJob).not.toContain(
"pnpm exec playwright install --with-deps chromium",
);
const paidInstall = paidJob.indexOf(
"pnpm install --frozen-lockfile --ignore-scripts",
);