Skip to content

Commit 384a767

Browse files
JacksonWeberCopilot
andcommitted
fix(ci): skip chrome-headless-shell download to avoid flaky install failure
Tests launch full Chrome via headless: 'new', so chrome-headless-shell is never used. Its download intermittently fails in CI (archive extracts without an executable), breaking npm install. Skip it via .puppeteerrc.cjs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent e3761a9 commit 384a767

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.puppeteerrc.cjs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* Puppeteer configuration.
3+
*
4+
* Tests launch full Chrome via `headless: "new"` (see gruntfile.js / tools/grunt-tasks/qunit.js),
5+
* so the separate chrome-headless-shell binary is never used. Skipping its download avoids a
6+
* flaky CI install failure where the headless-shell archive extracts without an executable
7+
* ("browser folder exists but the executable is missing").
8+
*/
9+
module.exports = {
10+
"chrome-headless-shell": {
11+
skipDownload: true
12+
}
13+
};

0 commit comments

Comments
 (0)