Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .evergreen/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@ functions:

# Install dependencies
bash ".evergreen/retry-with-backoff.sh" .evergreen/npm_ci.sh
# Will fail if versions of direct dependencies listed in package-lock
# are not matching versions defined in package.json file of any of the
# workspace packages
# TODO: change this to npm ls --all when rest of the mismatched version issues are resolved
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No ticket because I'll just do it right away (or will add a ticket if resolving the issue for transitive deps will turn out to take longer than expected)

npm ls || echo "\nThe \`npm ls\` command failed with mismatched dependencies error. This usually means that the dependency versions listed in package.json are not matching dependencies resolved and recorded in package-lock.json. If you updated package.json files in your PR, inspect the error output and try to re-install offending dependncies to fix the package-lock file."

bootstrap:
- command: shell.exec
Expand Down
Loading
Loading