From 0dc60e10acfb1e82dfeb9ab98dc6eabf70a74530 Mon Sep 17 00:00:00 2001 From: Hirokazu Hata Date: Thu, 24 Jan 2019 03:23:15 +0900 Subject: Use npm ci instead of install --- crates/tools/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates') diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs index 5597aae5a..d6eabce6c 100644 --- a/crates/tools/src/main.rs +++ b/crates/tools/src/main.rs @@ -150,10 +150,10 @@ fn existing_tests(dir: &Path, ok: bool) -> Result Result<()> { run("cargo install --path crates/ra_lsp_server --force", ".")?; if cfg!(windows) { - run(r"cmd.exe /c npm.cmd install", "./editors/code")?; + run(r"cmd.exe /c npm.cmd ci", "./editors/code")?; run(r"cmd.exe /c npm.cmd run package", "./editors/code")?; } else { - run(r"npm install", "./editors/code")?; + run(r"npm ci", "./editors/code")?; run(r"npm run package", "./editors/code")?; } if cfg!(windows) { -- cgit v1.2.3