chore(ci): wrap turbo qa with explicit SCP log dump on failure to bypass hidden runner logs
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 7s
Build & Deploy / 🧪 QA (push) Failing after 1m55s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-03-01 19:32:59 +01:00
parent 4f452cf2a9
commit ac1e0081f7

View File

@@ -168,7 +168,17 @@ jobs:
run: pnpm install --no-frozen-lockfile
- name: 🧪 QA Checks
if: github.event.inputs.skip_checks != 'true'
run: pnpm exec turbo run lint typecheck test
run: |
pnpm exec turbo run lint typecheck test > turbo.log 2>&1 || {
echo "QA failed! Uploading log to alpha..."
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -H alpha.mintel.me >> ~/.ssh/known_hosts
scp turbo.log root@alpha.mintel.me:/root/mintel-me-qa-failure.log || true
cat turbo.log
exit 1
}
- name: 🏗️ Build Test
if: github.event.inputs.skip_checks != 'true'
run: pnpm build