-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When LoopBack's CI pipelines started incorporating GitHub Actions, npm install --global npm
was added as a step performed before installation. This was to prevent an issue where, under certain circumstances, the Mocha tests would silently pass without even executing the tests themselves. However, a side-effect was that this would install the latest NPM version. This meant that CI pipelines which still tested against Node.js v10 broke due to incompatibility with the newly-relesaed NPM v8.
The NPM version policy is as follows:
- Use the latest supported NPM version for that specific Node.js version.
- Where there may be a gap between NPM major versions in the test matrix, add an additional x86 Linux test matrix permutation on GitHub Actions.
This issue is to track the updating of CI pipelines to use pinned NPM major versions.
Repos to update:
- strong-soap (PR: ci: pin NPM major version strong-soap#343)
- loopback-connector (PR: ci: update envirnoment loopback-connector#192)
- loopback-connector-mongodb
-
v5.x(Not applicable)
- loopback-connector-grpc (PR: Pin NPM; Update Node.js loopback-connector-grpc#17)
Metadata
Metadata
Assignees
Labels
No labels