Add debugging steps to build workflow

This commit is contained in:
southseact-3d
2026-02-10 12:16:09 +00:00
parent a591f5d2d5
commit 1e91ca948a

View File

@@ -51,6 +51,21 @@ jobs:
run: bun install
working-directory: opencode
- name: Debug - Check directory structure
run: |
pwd
ls -la
ls -la packages/opencode/
working-directory: opencode
- name: Debug - Test bun script execution
run: |
echo "Testing bun..."
bun --version
echo "Testing script import..."
bun run -e "try { const { Script } = await import('@opencode-ai/script'); console.log('Script imported:', Script.version); } catch(e) { console.error('Import failed:', e); process.exit(1); }"
working-directory: opencode
- name: Build CLI
run: bun run ./packages/opencode/script/build.ts --single
working-directory: opencode