Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use npm ci instead of npm install? #362

Open
EugenCepoi opened this issue Jan 14, 2020 · 3 comments
Open

How to use npm ci instead of npm install? #362

EugenCepoi opened this issue Jan 14, 2020 · 3 comments

Comments

@EugenCepoi
Copy link

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?

@deepy
Copy link

deepy commented Jan 16, 2020

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

@EugenCepoi
Copy link
Author

Thanks, this is useful! Started using your fork.

@matthiaskraaz
Copy link

The above "fork" is what you get with the ID "com.github.node-gradle.node" from the gradle plugin repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants