From 3db7edf96a6964c4325856f5e5c7ee051e0e403e Mon Sep 17 00:00:00 2001 From: Gurpreet Atwal Date: Wed, 3 Mar 2021 20:24:51 -0800 Subject: [PATCH] chore(ci): cap npm version to 6.x.x This is required as we still support Node.js 6 --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 387d03f6..81895fe9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,8 @@ notifications: before_install: - - dpkg --compare-versions `npm -v` ge 6.0 || npm i -g npm@latest + # npm@^7.0.0 requires Node.js >= 10 + - dpkg --compare-versions `npm -v` ge 6.0 || npm i -g npm@^6.0.0 install: - npm ci