<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->
- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.
Closes#35345
This PR resolves an issue where the `/challenges/current-challenge` request times out due to an unresolved promise.
- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.
Co-authored-by: mrugesh mohapatra <1884376+raisedadead@users.noreply.github.com>
We were not using sudo, but now the main images should be similarly fast. More at:
https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.
- [x] None of my changes are plagiarized from another source without proper attribution.
- [x] My article does not contain shortened URLs or affiliate links.
This commit speeds up the builds by upto 3 times than the current.
It uses npm 3 over npm 2 (travis default), and caches the
dependencies.
This is okay, because our prime two testing areas are, linting and
tests for the challenges.
NOTE: The speed up should happen from the second build,
as it will take atleast one build to cache the dependencies.