NPM CI ignores engine-strict

What I Wanted to Do

I’d like to make sure that my CI fails if the required version of node and npm is not installed.

What Happened Instead

CI does not fail and seems to ignore engines section of package.json

Reproduction Steps

  • npm config set engine-strict true
  • Add the following in your package.json:
      "engines": {
      "node": ">=100"
  • Run npm ci


Similar issue which was closed with no reply:

Platform Info

$ npm --versions
npm: 6.12.0

$ node -p process.platform