fix(ci): add timeouts and verbose logging to diagnose hangs
Some checks failed
Build & Deploy / 🧪 QA (push) Blocked by required conditions
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🏗️ Build (push) Has been cancelled
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled

This commit is contained in:
2026-03-03 20:17:56 +01:00
parent b27566a336
commit e9fbe45feb

View File

@@ -188,24 +188,27 @@ jobs:
# Also export for pnpm to pick it up from env if needed # Also export for pnpm to pick it up from env if needed
echo "NPM_TOKEN=${TOKEN}" >> $GITHUB_ENV echo "NPM_TOKEN=${TOKEN}" >> $GITHUB_ENV
- name: 🏗️ Compile Sibling Monorepo - name: 🏗️ Compile Sibling Monorepo
timeout-minutes: 15
run: | run: |
cp .npmrc _at-mintel/ cp .npmrc _at-mintel/
cd _at-mintel cd _at-mintel
pnpm install --no-frozen-lockfile pnpm install --no-frozen-lockfile --loglevel info
# Only build necessary packages to save time and avoid environmental failures # Only build necessary packages to save time and avoid environmental failures
pnpm --filter "...@mintel/payload-ai" \ pnpm --filter "...@mintel/payload-ai" \
--filter @mintel/pdf... \ --filter @mintel/pdf... \
--filter @mintel/concept-engine... \ --filter @mintel/concept-engine... \
--filter @mintel/estimation-engine... \ --filter @mintel/estimation-engine... \
--filter @mintel/meme-generator... \ --filter @mintel/meme-generator... \
build build --loglevel info
- name: Install dependencies - name: Install dependencies
timeout-minutes: 10
run: | run: |
pnpm store prune pnpm store prune
pnpm install --no-frozen-lockfile pnpm install --no-frozen-lockfile --loglevel info
- name: 🧪 Test - name: 🧪 Test
if: github.event.inputs.skip_checks != 'true' if: github.event.inputs.skip_checks != 'true'
run: pnpm --filter @mintel/web test timeout-minutes: 10
run: pnpm --filter @mintel/web test --loglevel info
- name: Inspect on Failure - name: Inspect on Failure
if: failure() if: failure()
run: | run: |