-
Notifications
You must be signed in to change notification settings - Fork 40
Add browser caching for playwright #1263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Visit the preview URL for this PR (updated for commit f8fa8ca): https://doradotdev--pr1263-drafts-off-txkrkgzp.web.app (expires Sun, 18 Jan 2026 22:37:37 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 7ad2b3cf9cceb558b493931176f998ae46924361 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request adds a devEngines field to test/playwright/package.json to specify Node.js and npm versions for the development environment. However, devEngines is not a standard package.json field. I've suggested using the standard engines and packageManager fields for better compatibility and maintainability. Additionally, the pull request title "Add npm caching" seems to be a misnomer, as the changes are related to environment versioning, not caching.
This PR uses GHA caching to cache browser downloads for playwright.
It reduces build times by about 50 seconds.
Fixes #1264