Speed Up CI/CD
Caching is used to speed up CI/CD. Let's learn how to use caching in this lesson.
We'll cover the following...
We'll cover the following...
You have two GitHub workflows defined so far. For each new service, you will introduce a new workflow to truly keep services independent. It also helps you significantly speed up the CI/CD pipelines when only a single service has changed. When a pull request is merged to the master branch, the workflow files execute two jobs in sequence for a given service:
- test
- deploy
Both jobs start by installing the root NPM packages, and then all NPM packages for all services. When we work on a pull request and push changes frequently, that’s a lot of repetitive processing, and it takes roughly 5 minutes to run the entire workflow. As ...