Use npm ci instead of install
This commit is contained in:
parent
5ced113e1c
commit
0dc60e10ac
@ -150,10 +150,10 @@ fn existing_tests(dir: &Path, ok: bool) -> Result<HashMap<String, (PathBuf, Test
|
||||
fn install_code_extension() -> 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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user