-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Split out puppeteer's install to be acquired separately to the rest of the modules #2539
Comments
How about using a container for testing the API (like we do in devcontainer?). With |
Well this is mainly about just speeding up the compile/unit test job, which already gets run in containers. A perk is that it would also lower the startup time for new people. It makes sense to just avoid installing puppeteer unless you need to actually run the API tests, I don't think we should require someone to have docker to run them though. |
I meant more like |
👍 seems like the easiest fix: #2541 |
That is what I meant, sorry for "missing the point" first :) Edit: |
It downloads Chromium which means is busts the GH Actions cache if we try to cache node_modules and also takes a long time to install locally and in CI. We should move it out and only install it when we need the API tests (
cd test/api && yarn
?"pretest-api": "npm install puppeteer"
?).The text was updated successfully, but these errors were encountered: