NPM CI always downloads binaries #28524
Unanswered
BlythMeister
asked this question in
CI setup
Replies: 1 comment 2 replies
-
Normally Cypress will not download its binary if the version needed is already in the cache. Are you still having this problem, or did you already solve it? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm sure this is that I'm doing something wrong.
My setup is a windows machine that runs my cypress tests.
The tests always run under the same user.
Our script to run the tests does
npm ci
and thennpx cypress....
to run.However, the ci command seems to take forever every time we run (around 8-9 minutes)
This leads me to think that it is downloading and installing the cypress binaries on every run.
Is there a way to tell cypress to only do this with the binaries if the version is not in the cache?
We have tests that take around 1 minute to run, but the total execution time is often over 10 minutes due to the "preamble" doing the npm ci.
Beta Was this translation helpful? Give feedback.
All reactions