fix: repair OpenTUI CLI contract, sync-branch integrity, and output/skill-source hardening #62
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: CI | |
| on: | |
| workflow_call: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| rust-quality: | |
| name: Rust Quality | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - run: cargo fmt --check | |
| - run: cargo clippy --all-targets --all-features -- -D warnings | |
| - run: cargo test --quiet | |
| js-check: | |
| name: JS and npm checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: oven-sh/setup-bun@v2 | |
| - run: bun install --frozen-lockfile | |
| working-directory: tui-opentui | |
| - run: bun run typecheck | |
| working-directory: tui-opentui | |
| - uses: dtolnay/rust-toolchain@stable | |
| - run: cargo build --quiet --bin tsq | |
| - run: bun test | |
| working-directory: tui-opentui | |
| env: | |
| TSQ_CONTRACT_BIN: ${{ github.workspace }}/target/debug/tsq | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "24" | |
| - run: npm run test:postinstall --prefix npm |