lucid-mongo
lucid-mongo copied to clipboard
Update CI pipeline to use node >=12
Motivation:
- NodeJS v8 is no longer supported.
- The build in node 8 is crashing :x: for quite a while.
This PR aims to update the CI pipeline to replace node v8 with v12.
Currently the build fails in node 8 due to the use of the spread operator (...
) in cli-engine
.
/home/travis/build/duyluonglc/lucid-mongo/node_modules/eslint/lib/cli-engine/cli-engine.js:257
...calculateStatsPerFile(messages)
^^^
SyntaxError: Unexpected token ...
Coverage remained the same at 87.739% when pulling e771029a534fb44a53b7b575f47343c6a09c63cb on Zizaco:fix-build into 6377e9d0309219eccaf4c9bcb9f56ee5b249e9f3 on duyluonglc:develop.
Hey @duyluonglc can you please check this out. With this PR all the test builds will go back to green :heavy_check_mark: