ci: guard publish bun test completion summary

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-05-29 16:33:32 +09:00
parent 01f2f7efd2
commit 1a6652dde3
+11 -1
View File
@@ -46,7 +46,17 @@ jobs:
BUN_INSTALL_ALLOW_SCRIPTS: "@ast-grep/cli @ast-grep/napi"
- name: Run tests
run: bun test
run: |
set -o pipefail
log_path="${RUNNER_TEMP:-/tmp}/omo-bun-test.log"
set +e
bun test 2>&1 | tee "$log_path"
test_status="${PIPESTATUS[0]}"
set -e
if [ "$test_status" -ne 0 ]; then
exit "$test_status"
fi
bun run script/assert-test-summary.ts "$log_path"
typecheck:
runs-on: ubuntu-latest