ci: don't save node_modules directory (#41467)
ci: don't save node_modules directory (#41467)

Storing node_modules directory in cache causes a number of issues, such as increase in the laid out node_modules tree and also in some cases break module resolution. This is because modules are not hoisted correctly when running `yarn install`.

Example of related failures https://app.circleci.com/pipelines/github/angular/angular/30441/workflows/c1a16135-f5c9-478d-a298-d720c6657d52/jobs/952138

A better cache strategy would be to save yarn cache, more information can be found in https://circleci.com/docs/2.0/caching/#yarn-node.

PR Close #41467

angular-indonesia/angular,mgechev/angular,ocombe/angular,angular-indonesia/angular,JiaLiPassion/angular,angular/angular,angular/angular,manekinekko/angular,gnomeontherun/angular,ocombe/angular,ocombe/angular,shairez/angular,angular-indonesia/angular,gnomeontherun/angular,shairez/angular,manekinekko/angular,angular-indonesia/angular,ocombe/angular,brandonroberts/angular,JiaLiPassion/angular,manekinekko/angular,mgechev/angular,mgechev/angular,mgechev/angular,shairez/angular,brandonroberts/angular,manekinekko/angular,angular/angular,ocombe/angular,gnomeontherun/angular,mgechev/angular,gkalpak/angular,shairez/angular,JiaLiPassion/angular,brandonroberts/angular,gnomeontherun/angular,brandonroberts/angular,shairez/angular,ocombe/angular,angular/angular,gkalpak/angular,gkalpak/angular,gkalpak/angular,JiaLiPassion/angular,manekinekko/angular,brandonroberts/angular,manekinekko/angular,brandonroberts/angular