Skip to content

Commit e6f7d9a

Browse files
kevinccbsgclaude
andcommitted
ci: pre-install Chrome matching twd-cli's puppeteer version
The shared run action installs Chrome via puppeteer@latest (now 25.x, Chrome 149) while twd-cli runs with its pinned puppeteer ^24.43.0 (Chrome 148). Pre-install the matching Chrome through twd-cli's own puppeteer so the test run always finds its browser. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a27ad6e commit e6f7d9a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ jobs:
3434
env:
3535
CI: true
3636

37+
# Pre-install the Chrome version twd-cli's puppeteer expects.
38+
# The shared action installs Chrome via puppeteer@latest, which can
39+
# drift from twd-cli's pinned puppeteer (e.g. puppeteer 25 installs
40+
# Chrome 149 while twd-cli needs 148).
41+
- name: Install Chrome for twd-cli
42+
run: npx -y -p twd-cli -c 'puppeteer browsers install chrome'
43+
3744
- name: Run TWD tests
3845
uses: BRIKEV/twd-cli/.github/actions/run@main
3946
with:

0 commit comments

Comments
 (0)