Closed simeg closed 6 years ago
Good idea, added it!
EDIT: Using yarn over npm on travis saved us ~0.5s (on a cold run). Not sure how travis deals with caching.
Thanks.
See https://blog.travis-ci.com/2016-11-21-travis-ci-now-supports-yarn for caching.
@simeg isn't it slower because of security audit?
@Kyslik Do you mean that npm is slower because of security audit? You mean npm audit
? Not sure if that's being run during the CI process.
I enabled caching, it should speed the build time up. It now takes 8 seconds to install dependencies on Travis! 🎉
@simeg yea, for example https://travis-ci.org/sb2nov/mac-setup/builds/381817378#L458, but now its irrelevant since we are on yarn.
@Kyslik Ah, didn't know npm install
automatically did an audit every time it installed.
Is it worth it on Travis CI too?
It takes ~35s to
npm install
.https://travis-ci.org/sb2nov/mac-setup/builds/381817378#L448