srs/gradle-node-plugin

How to use npm ci instead of npm install?

EugenCepoi opened this issue · 3 comments

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?

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.