Skip to content

armgit / Ix

Public Imported from GitHub
0

Understand any codebase instantly. System intelligence for codebases, built for humans and AI.

fix: install core-ingestion deps before CLI build in release and build script

riley0227a21e5c479071
diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml
index 3c2a01e2..cb392b6a 100644
--- a/.github/workflows/release-please.yml
+++ b/.github/workflows/release-please.yml
@@ -84,7 +84,13 @@ jobs:
with:
node-version: "22"
cache: "npm"
- cache-dependency-path: ix-cli/package-lock.json
+ cache-dependency-path: |
+ ix-cli/package-lock.json
+ core-ingestion/package-lock.json
+
+ - name: Install core-ingestion deps
+ working-directory: core-ingestion
+ run: npm ci --silent
- name: Build CLI
working-directory: ix-cli
diff --git a/ix-cli/scripts/build-core-ingestion.mjs b/ix-cli/scripts/build-core-ingestion.mjs
index dff68544..aed903b7 100644
--- a/ix-cli/scripts/build-core-ingestion.mjs
+++ b/ix-cli/scripts/build-core-ingestion.mjs
@@ -4,6 +4,12 @@ import { resolve } from 'node:path';
const npmCmd = process.platform === 'win32' ? 'npm.cmd' : 'npm';
const coreIngestionDir = resolve(process.cwd(), '../core-ingestion');
+execSync(`${npmCmd} ci --silent`, {
+ cwd: coreIngestionDir,
+ shell: true,
+ stdio: 'inherit',
+});
+
execSync(`${npmCmd} run build`, {
cwd: coreIngestionDir,
shell: true,