Cypress (our E2E testing framework), requires OS dependencies, that doesn't come up with CircleCI by default. Because of that we download every time when the CI job is running.
It significantly prolongs the time for how long the CI job is running for new commits.
We should cache these dependencies, so they'll be retrieved from cache every time, instead of being installed again and again.
User story
A developer push a new commit to github.
A CircleCI job is starting for his commit.
CircleCI automatically retrieves Cypress dependencies which were downloaded during previous jobs from cache, instead of downloading them from the internet and installing.
Cypress (our E2E testing framework), requires OS dependencies, that doesn't come up with CircleCI by default. Because of that we download every time when the CI job is running. It significantly prolongs the time for how long the CI job is running for new commits. We should cache these dependencies, so they'll be retrieved from cache every time, instead of being installed again and again.
User story
Suggestion for solution: https://unix.stackexchange.com/questions/408346/how-to-download-package-not-install-it-with-apt-get-command