gradle-node-plugin
gradle-node-plugin copied to clipboard
How to use npm ci instead of npm install?
Using npm install during a CI build is causing in my case several problems as it modifies the package-lock.json file. Running npm ci avoids that. How can I configure the gradle plugin to use npm ci instead of npm install?
This is one of the major features we've got in the fork node-gradle/gradle-node-plugin/blob/master/docs/faq.md#how-do-i-use-npm-ci-instead-of-npm-install
Thanks, this is useful! Started using your fork.
The above "fork" is what you get with the ID "com.github.node-gradle.node" from the gradle plugin repository.