From 0f6803cdf1c7166e95672d2aa0bf832f557504cb Mon Sep 17 00:00:00 2001 From: angrybayblade Date: Wed, 5 Jun 2024 12:45:45 +0530 Subject: [PATCH] fix: skip tendermint installation in CI --- electron/install.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/electron/install.js b/electron/install.js index 31c7512e..df784bec 100644 --- a/electron/install.js +++ b/electron/install.js @@ -157,7 +157,11 @@ async function installTendermintUnix() { console.log(appendLog(`Installing tendermint binary`)); runCmdUnix('tar', ['-xvf', 'tendermint.tar.gz']); - await runSudoUnix('install', 'tendermint /usr/local/bin'); + + // TOFIX: Install tendermint in .operate instead of globally + if (!Env.CI) { + await runSudoUnix('install', 'tendermint /usr/local/bin'); + } process.chdir(cwd); }