I want to include 3 jobs
deploy. Each step requires the previous one to be successfully completed.
In the test job, I am using checkout action to clone the repo, install nodejs dependencies (takes around 100 secs). Currently, when the test is passed, these time-consuming steps are again executed in the following jobs.
So can I just clone it for once, and pass on the cloned repo (action/checkout@v2) to following jobs?