Antonio-Maranhao commented on a change in pull request #1059: use npm ci on 
travis
URL: https://github.com/apache/couchdb-fauxton/pull/1059#discussion_r172545121
 
 

 ##########
 File path: .travis.yml
 ##########
 @@ -9,7 +9,8 @@ git:
 
 before_script:
   - travis_retry ./bin/docker-up-and-check.sh
-  - npm install
+  - npm install -g npm@latest
+  - npm ci
 
 Review comment:
   Travis is running `npm install` before getting to this part - it's automatic 
for Node projects that don't have a `install` section - which means 
`package-lock` could have been changed before `npm ci` runs.
   The alternative is to override the default by moving these two lines to 
`install` section.
   
https://docs.travis-ci.com/user/customizing-the-build/#Customizing-the-Installation-Step

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to