Skip to content
Snippets Groups Projects
Commit 99b1e6f3 authored by Éloïs's avatar Éloïs
Browse files

[build] fix xtask build script: use npm ci instead of npm i

parent a5ae6870
No related branches found
No related tags found
No related merge requests found
...@@ -108,7 +108,7 @@ fn build(skip_npm: bool, production: bool) -> Result<()> { ...@@ -108,7 +108,7 @@ fn build(skip_npm: bool, production: bool) -> Result<()> {
exec_should_success( exec_should_success(
Command::new("npm") Command::new("npm")
.env("NEON_BUILD_RELEASE", "true") .env("NEON_BUILD_RELEASE", "true")
.arg("install"), .arg("ci"),
)?; )?;
if production { if production {
exec_should_success(Command::new("npm").args(&["prune", "--production"]))?; exec_should_success(Command::new("npm").args(&["prune", "--production"]))?;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment