This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
Cache Playwright browser dependencies #826
Labels
type: feature
code contributing to the implementation of a feature and/or user facing functionality
Is your feature request related to a problem? Please describe.
The build image doesn't seem to come with browser binaries, which could be used by Playwright for testing.
They need to be explicitly installed, however their target location
.cache/ms-playwright
is not cached by Netlify and the dependencies are re-downloaded in every build.Describe the solution you'd like
Playwright dependencies to be cached by default.
Describe alternatives you've considered
I've tried third party
netlify-plugin-cache
to cache it, but according to support Netlify has plugin issues with current Node 18 version.Additional context
Can you submit a pull request?
No, fuzzy on nixes scripting, sorry. :)
The text was updated successfully, but these errors were encountered: