Repository navigation
Skip unused Playwright browser downloads in CI - #229
Merged
Merged
Conversation
Keep local VS Code browser tooling unchanged while avoiding unsupported Chromium installation on Ubuntu 26.04 build runners. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: eca2adda-c35b-4e8c-9fdb-5da48c2ae88e
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Skip Playwright browser downloads during CI dependency installation. Build-only CI does not need Chromium; the pinned browser package fails on Ubuntu 26.04.
Related Issues
Relates to #221. Failed installation: https://github.com/microsoft/chartifact/actions/runs/43281235533
Type of Change
Changes Made
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'only on the CI install step.Testing
Test Details
git diff --check— passed.$env:PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = '1'; npm rebuild @playwright/browser-chromium --foreground-scripts— passed; the actual installer printed that browser downloads were skipped. Existing npm allowScripts warnings remain.Full build not run locally for this workflow-only change; the PR's CI will verify installation and build on Linux.
Screenshots/Recordings
Not applicable.
Documentation
Checklist
Additional Context
@vscode/test-webpulls in@playwright/browser-chromium. CI runs builds and bundle checks, not the VS Code browser test commands. After merging, update #221 with main to apply this fix and trigger fresh CI.For Maintainers