Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix CI: install Playwright browsers after version bump#344

Merged
francinelucca merged 2 commits intodependabot/npm_and_yarn/npm_and_yarn-8ff8a2d82bfrom
copilot/sub-pr-343
Mar 3, 2026
Merged

Fix CI: install Playwright browsers after version bump#344
francinelucca merged 2 commits intodependabot/npm_and_yarn/npm_and_yarn-8ff8a2d82bfrom
copilot/sub-pr-343

Conversation

Copy link
Contributor

Copilot AI commented Mar 3, 2026

Playwright was bumped from 1.28.1 to 1.58.2, which uses a different Chromium revision. The CI was failing because the browser binary wasn't present on the runner.

Changes

  • .github/workflows/test.yml: Split npm it into discrete steps, inserting npx playwright install --with-deps chromium between install and test so the correct browser binaries are available before tests run.

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI changed the title [WIP] Bump the npm_and_yarn group across 1 directory with 2 updates Fix CI: install Playwright browsers after version bump Mar 3, 2026
@francinelucca francinelucca marked this pull request as ready for review March 3, 2026 20:16
@francinelucca francinelucca requested a review from a team as a code owner March 3, 2026 20:16
Copilot AI review requested due to automatic review settings March 3, 2026 20:16
@francinelucca francinelucca merged commit 68369a2 into dependabot/npm_and_yarn/npm_and_yarn-8ff8a2d82b Mar 3, 2026
2 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Node CI workflow to ensure Playwright’s Chromium browser binary is installed in CI after upgrading Playwright, preventing test failures due to missing browser revisions.

Changes:

  • Split the previous combined npm step into separate install and test steps.
  • Added an explicit npx playwright install --with-deps chromium step before running tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +21 to +22
- name: npm install
run: npm install
Copy link

Copilot AI Mar 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In CI, prefer npm ci over npm install when a package-lock.json is committed. It provides reproducible installs and will fail fast if package.json/lockfile drift (also consistent with .github/workflows/publish.yml using npm ci).

Suggested change
- name: npm install
run: npm install
- name: npm ci
run: npm ci

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants