feat: update Chrome installation for Puppeteer on Linux#11642
Open
KauanAfonso wants to merge 2 commits into
Open
feat: update Chrome installation for Puppeteer on Linux#11642KauanAfonso wants to merge 2 commits into
KauanAfonso wants to merge 2 commits into
Conversation
Signed-off-by: kauanAfonso <kauan.afonso@ibm.com>
Signed-off-by: kauanAfonso <kauan.afonso@ibm.com>
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.
Fix Chrome Installation for Puppeteer on Linux
Description
This PR updates the Chrome installation step in the CI workflow to use the correct
@puppeteer/browsersCLI command withchrome@stableinstead of the deprecatednpx puppeteer browsers install chromecommand.Changes
.github/workflows/continuous-integration.ymlto usenpx @puppeteer/browsers install chrome@stablefor installing Chrome on Linux runnersMotivation
The previous command
npx puppeteer browsers install chromemay not work correctly with newer versions of Puppeteer. The@puppeteer/browserspackage provides a more reliable way to install Chrome for testing purposes.Checklist
npm testpasses on your machinepackages/cliwere updated (N/A - CI configuration only)examples/*were updated (N/A - CI configuration only)Notes
This is a CI configuration fix that doesn't affect the application code or require additional tests. The change will be validated when the CI runs on this PR.