Skip to content

Commit

Permalink
use npm i, not npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lerouxb committed Jan 9, 2024
1 parent 3569aff commit 336ef5a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .evergreen/install-npm-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ echo "MONOGDB_DRIVER_VERSION_OVERRIDE:$MONOGDB_DRIVER_VERSION_OVERRIDE"
if [[ -n "$MONOGDB_DRIVER_VERSION_OVERRIDE" ]]; then
export REPLACE_PACKAGE="mongodb:$MONOGDB_DRIVER_VERSION_OVERRIDE"
npm run replace-package
npm ci --verbose --force # force because of issues with peer deps and semver pre-releases
# force because of issues with peer deps and semver pre-releases,
# install rather than ci because `npm ci` can only install packages when your
# package.json and package-lock.json or npm-shrinkwrap.json are in sync.
npm i --verbose --force
fi

# if we rewrote this script in javascript using just builtin node modules we could skip the npm ci above
Expand Down

0 comments on commit 336ef5a

Please sign in to comment.