diff options
author | vitalyster | 2020-11-11 05:55:33 +0300 |
---|---|---|
committer | GitHub | 2020-11-11 05:55:33 +0300 |
commit | 02fa172078571f74cde5aa5b83a6b0a80835cbe6 (patch) | |
tree | 444ab2ee604aa9fcd90a820b842cd1cfe59d28f8 | |
parent | 11228b423db6b5a9d4990ddc2b25090728c819ee (diff) |
Gradle: use `npm ci`
-rw-r--r-- | build.gradle | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index e4a67306..8cad40e2 100644 --- a/build.gradle +++ b/build.gradle @@ -35,9 +35,9 @@ task npmInstall(type: Exec) { inputs.file('package-lock.json') outputs.file('package-lock.json') if (DefaultNativePlatform.getCurrentOperatingSystem().isWindows()) { - commandLine 'cmd', '/c', 'npm', 'install' + commandLine 'cmd', '/c', 'npm', 'ci' } else { - commandLine 'npm', 'install' + commandLine 'npm', 'ci' } } |