fix(buffer): preserve wide characters under translucent overlays #1107
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Preview Packages | |
| on: | |
| pull_request: | |
| paths: | |
| - "packages/core/**" | |
| - "packages/react/**" | |
| - "packages/solid/**" | |
| push: | |
| branches: | |
| - "**" | |
| tags: | |
| - "!**" | |
| paths: | |
| - "packages/core/**" | |
| - "packages/react/**" | |
| - "packages/solid/**" | |
| permissions: {} | |
| jobs: | |
| publish: | |
| name: Publish Preview | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Setup Zig | |
| uses: goto-bus-stop/setup-zig@v2 | |
| with: | |
| version: 0.15.2 | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Build core (all platforms via cross-compilation) | |
| run: bun scripts/build.ts --native --all && bun scripts/build.ts --lib | |
| working-directory: packages/core | |
| - name: Get native package directories | |
| id: native-packages | |
| run: | | |
| NATIVE_DIRS=$(find ./packages/core/node_modules/@opentui -maxdepth 1 -type d -name 'core-*' -printf '%p ' | sed 's/ $//') | |
| echo "dirs=$NATIVE_DIRS" >> $GITHUB_OUTPUT | |
| echo "Found native packages: $NATIVE_DIRS" | |
| - name: Build react | |
| run: bun run build --ci | |
| working-directory: packages/react | |
| - name: Build solid | |
| run: bun run build --ci | |
| working-directory: packages/solid | |
| - name: Publish preview packages | |
| run: | | |
| npx pkg-pr-new publish --no-template --commentWithSha --bun \ | |
| './packages/core/dist' \ | |
| ${{ steps.native-packages.outputs.dirs }} \ | |
| './packages/react/dist' \ | |
| './packages/solid/dist' |