Skip to content

Cache npm dependencies in Travis CI #221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 20, 2019

Conversation

phillipj
Copy link
Member

While looking for some low hanging chores to do, I stumbled upon .travis.yml. Thought we might as well tell Travis to cache the npm dependencies to speed up our builds.

Knowing we've got the entire dependency tree locked down with package-lock.json, it can't hurt to cache them, right?

Refs https://docs.travis-ci.com/user/caching/#npm-cache

/cc @nodejs/github-bot

@phillipj phillipj merged commit dba1f37 into nodejs:master Mar 20, 2019
@phillipj
Copy link
Member Author

Thanks for lightning quick reviews! 💯

@phillipj phillipj deleted the update-travis-ci branch March 20, 2019 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants