Skip to content

armgit / Ix

Public Imported from GitHub
0

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

fix(release): use --legacy-peer-deps for compass build (#82)

Tanner Kocher1d4bc22fbaf7
diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml
index e802d102..bd601203 100644
--- a/.github/workflows/release-please.yml
+++ b/.github/workflows/release-please.yml
@@ -115,15 +115,23 @@ jobs:
# ── 3b. Build System Compass (optional — needs COMPASS_TOKEN secret) ─
- name: Build System Compass
- if: ${{ secrets.COMPASS_TOKEN != '' }}
continue-on-error: true
env:
COMPASS_TOKEN: ${{ secrets.COMPASS_TOKEN }}
run: |
+ if [ -z "$COMPASS_TOKEN" ]; then
+ echo "COMPASS_TOKEN not set — skipping compass build"
+ exit 0
+ fi
git clone https://x-access-token:${COMPASS_TOKEN}@github.com/ix-infrastructure/system-compass.git
cd system-compass
- npm ci --silent
+ npm ci --legacy-peer-deps
npm run build
+ # Verify the build produced output
+ if [ ! -f dist/index.html ]; then
+ echo "::error::Compass build did not produce dist/index.html"
+ exit 1
+ fi
# ── 3c. Write version manifest ─────────────────────────────────────
- name: Write version manifest
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ccf7dec5..838ef094 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -117,8 +117,13 @@ jobs:
fi
git clone https://x-access-token:${COMPASS_TOKEN}@github.com/ix-infrastructure/system-compass.git
cd system-compass
- npm ci --silent
+ npm ci --legacy-peer-deps
npm run build
+ # Verify the build produced output
+ if [ ! -f dist/index.html ]; then
+ echo "::error::Compass build did not produce dist/index.html"
+ exit 1
+ fi
# ── 4. Package CLI tarballs ─────────────────────────────────────────
- name: Package CLI (linux-amd64)