diff --git a/apps/agent/deploy/install.sh b/apps/agent/deploy/install.sh index f5d626b..a2a66c4 100644 --- a/apps/agent/deploy/install.sh +++ b/apps/agent/deploy/install.sh @@ -57,7 +57,7 @@ if [ ! -d "$DIR/.git" ]; then fi ( cd "$DIR" - NODE_ENV=development npm ci --no-audit --no-fund --include=dev -w packages/contracts -w apps/agent + NODE_ENV=development npm ci --no-audit --no-fund --include=dev --include-workspace-root -w packages/contracts -w apps/agent npm run build -w packages/contracts npm run build -w apps/agent ) diff --git a/apps/agent/src/update.ts b/apps/agent/src/update.ts index 3c6dd53..4bc99dc 100644 --- a/apps/agent/src/update.ts +++ b/apps/agent/src/update.ts @@ -66,7 +66,7 @@ export async function updateAgent(tag: string, currentVersion: string): Promise< } }); await step("Installing and building", async () => { - await exec("npm", ["ci", "--no-audit", "--no-fund", "--include=dev", "-w", "packages/contracts", "-w", "apps/agent"], dir); + await exec("npm", ["ci", "--no-audit", "--no-fund", "--include=dev", "--include-workspace-root", "-w", "packages/contracts", "-w", "apps/agent"], dir); await exec("npm", ["run", "build", "-w", "packages/contracts"], dir); await exec("npm", ["run", "build", "-w", "apps/agent"], dir); });