rushstack icon indicating copy to clipboard operation
rushstack copied to clipboard

cache installed deps on CI

Open microsoftly opened this issue 1 year ago • 2 comments

Summary

Details

How it was tested

Impacted documentation

microsoftly avatar Jun 19 '24 19:06 microsoftly

Is this any faster than letting pnpm install directly? I know for the main repo I support I abandoned dependency caching because it's faster to download and install the tarballs than the registry (though that is probably impacted by having a within-datacenter mirror).

dmichon-msft avatar Jun 19 '24 20:06 dmichon-msft

I'm sorry for omitting the description block ... I didn't realize that this would open outside of my repo. It's obviously not ready for review yet.

@dmichon-msft the purpose of this PR is not for efficiency - it's for creating a documented reference for others to see. There was no clear place where I could conclusively find the best way to cache deps for rush, so I figured why not put it in the most authoritative place - the source code.

microsoftly avatar Jun 20 '24 20:06 microsoftly