From 33282242f4b7075981860f4f148495d7b641cf7d Mon Sep 17 00:00:00 2001 From: Christian Flach Date: Sun, 2 Dec 2018 23:33:30 +0100 Subject: [PATCH] Use `npm install` when running Greenkeeper Otherwise we run into this issue: https://github.com/greenkeeperio/greenkeeper-lockfile/issues/156 --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a7fb27e..dab0b69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,7 @@ cache: directories: - "$HOME/.npm" -install: - - npm ci +install: case $TRAVIS_BRANCH in greenkeeper*) npm i;; *) npm ci;; esac; before_install: - npm i -g npm@6.1.0