Compare commits

...
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ runs:
shell: bash
run: |
if [ "$RUNNER_ARCH" = "X64" ]; then
V=$(node -p "require('./package.json').packageManager.split('@')[1]")
V=1.3.14
case "$RUNNER_OS" in
macOS) OS=darwin ;;
Linux) OS=linux ;;
+15
View File
@@ -63,6 +63,21 @@ jobs:
turbo-${{ runner.os }}-${{ hashFiles('turbo.json', '**/package.json') }}-
turbo-${{ runner.os }}-
- name: Run OpenTUI crash diagnostics
if: runner.os == 'Windows'
continue-on-error: true
working-directory: packages/opencode
run: |
set -euxo pipefail
bun --revision
bun -e 'console.log({ platform: process.platform, arch: process.arch, versions: process.versions })'
bun -e 'console.log("@opentui/core-win32-x64", (await import("@opentui/core-win32-x64")).default)'
bun -e 'import { EditBuffer } from "@opentui/core"; let cursor = 0; let content = 0; for (let i = 0; i < 5000; i++) { const b = EditBuffer.create("unicode"); b.on("cursor-changed", () => cursor++); b.on("content-changed", () => content++); b.setText(`draft-${i}`); await Bun.sleep(0); b.destroy(); } console.log({ cursor, content })'
for i in 1 2 3 4 5; do
echo "dialog-prompt targeted run $i"
bun test --timeout 30000 test/cli/tui/dialog-prompt.test.tsx
done
- name: Run unit tests
run: bun turbo test:ci
env: