Skip to content

Commit bc127b7

Browse files
chore(web): CI installs Chromium through playwright, not a direct playwright-core dependency
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent b27b1e6 commit bc127b7

3 files changed

Lines changed: 28 additions & 32 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ jobs:
272272
# test_server, so both jobs share one downloaded browser.
273273
- name: Resolve Playwright version
274274
id: playwright_version
275-
run: echo "version=$(node -p "require('./apps/web/node_modules/playwright-core/package.json').version")" >> "$GITHUB_OUTPUT"
275+
run: echo "version=$(node -p "require('./apps/web/node_modules/playwright/package.json').version")" >> "$GITHUB_OUTPUT"
276276

277277
- name: Cache Chromium
278278
id: chromium_cache
@@ -283,14 +283,14 @@ jobs:
283283

284284
- name: Install Chromium for web browser tests
285285
if: steps.chromium_cache.outputs.cache-hit != 'true'
286-
run: node apps/web/node_modules/playwright-core/cli.js install --only-shell chromium
286+
run: node apps/web/node_modules/playwright/cli.js install --only-shell chromium
287287

288288
- name: Install missing Chromium system dependencies
289289
run: |
290290
browser=$(find "$HOME/.cache/ms-playwright" -name chrome-headless-shell -type f -print -quit)
291291
test -n "$browser"
292292
if ldd "$browser" | grep '=> not found'; then
293-
node apps/web/node_modules/playwright-core/cli.js install-deps chromium
293+
node apps/web/node_modules/playwright/cli.js install-deps chromium
294294
fi
295295
296296
- name: Test

‎apps/web/package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
9191
"jsdom": "^30.0.1",
9292
"oxc-transform-react": "~0.152.0",
9393
"playwright": "1.60.0",
94-
"playwright-core": "1.60.0",
9594
"react-test-renderer": "19.2.6",
9695
"tailwindcss": "^4.0.0",
9796
"unified": "catalog:",

‎pnpm-lock.yaml‎

Lines changed: 25 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)