Closed imykhai closed 1 month ago
Our GitHub actions use npm install which means that the resulting dependency tree can be different from what is in a package-lock.json.
npm install
package-lock.json
Switched to the npm ci which is recommended for automated environments such as GitHub actions https://docs.npmjs.com/cli/v10/commands/npm-ci
npm ci
More info: Why developers should use npm ci instead of npm install and its benefits?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Problem
Our GitHub actions use
npm install
which means that the resulting dependency tree can be different from what is in apackage-lock.json
.Solution
Switched to the
npm ci
which is recommended for automated environments such as GitHub actions https://docs.npmjs.com/cli/v10/commands/npm-ciMore info: Why developers should use npm ci instead of npm install and its benefits?
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.