Docker and CI/CD · Junior · Question 50 of 75

What does caching dependencies in CI speed up?

Explanation

The cache key usually includes a hash of the lockfile, so it's invalidated when dependencies change. actions/setup-node can do this with cache: npm.

Further reading

Problem with a question

Docker and CI/CD · Junior · question 50

Test yourself

Take the Docker and CI/CD · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz