From 02fa172078571f74cde5aa5b83a6b0a80835cbe6 Mon Sep 17 00:00:00 2001 From: vitalyster Date: Wed, 11 Nov 2020 05:55:33 +0300 Subject: Gradle: use `npm ci` --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build.gradle') 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' } } -- cgit v1.2.3