Skip to content

Commit

Permalink
use npm ci instead of npm install
Browse files Browse the repository at this point in the history
because this is quicker, but also validates that the package-lock is in sync with the package.json

Without this anything in the package.json that is out of sync with the package-lock gets silently updated and the integrity is not checked
  • Loading branch information
tjenkinson committed Oct 5, 2019
1 parent fe02dbf commit 8556df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -ev

echo "travis_fold:start:npm_install"
npm install
npm ci
echo "travis_fold:end:npm_install"

if [ "${TRAVIS_MODE}" = "build" ]; then
Expand Down

0 comments on commit 8556df5

Please sign in to comment.