https://cypress.io logo
Hey... I'm currently trying to setup Cypress tests...
# best-practices
f
Hey... I'm currently trying to setup Cypress tests within our GitLab CI pipeline but I'm a bit confused. If I look at Cypress' recommandations for caching (https://docs.cypress.io/guides/continuous-integration/introduction#Caching), they say to better not cache the
node_modules
directory. At the same time, however, they recommend to follow their CI pipeline of the "Real World App" (https://github.com/cypress-io/cypress-realworld-app/blob/develop/.gitlab-ci.yml). As far as I can see, this pipeline actually caches
node_modules
. So, do you have any idea which is "more" correct?