diff --git a/rust/utils/run-locally/src/ethereum.rs b/rust/utils/run-locally/src/ethereum.rs index eb4f834f5a..5785260b32 100644 --- a/rust/utils/run-locally/src/ethereum.rs +++ b/rust/utils/run-locally/src/ethereum.rs @@ -13,13 +13,13 @@ use crate::{INFRA_PATH, MONOREPO_ROOT_PATH}; #[apply(as_task)] pub fn start_anvil(config: Arc) -> AgentHandles { log!("Installing typescript dependencies..."); - // let yarn_monorepo = Program::new("yarn").working_dir(MONOREPO_ROOT_PATH); - // yarn_monorepo.clone().cmd("install").run().join(); - // if !config.is_ci_env { - // // don't need to clean in the CI - // yarn_monorepo.clone().cmd("clean").run().join(); - // } - // yarn_monorepo.clone().cmd("build").run().join(); + let yarn_monorepo = Program::new("yarn").working_dir(MONOREPO_ROOT_PATH); + yarn_monorepo.clone().cmd("install").run().join(); + if !config.is_ci_env { + // don't need to clean in the CI + yarn_monorepo.clone().cmd("clean").run().join(); + } + yarn_monorepo.clone().cmd("build").run().join(); if !config.is_ci_env { // Kill any existing anvil processes just in case since it seems to have issues getting cleaned up