feat(tui): host-side Mission Control TUI for hm run/dev/cloud watch #1
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: demo-tape-smoke | |
| on: | |
| pull_request: | |
| paths: | |
| - "crates/hm/src/tui/**" | |
| - "docs/demo/**" | |
| - ".github/workflows/demo.yml" | |
| jobs: | |
| vhs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: wasm32-wasip1 | |
| - name: cargo build hm | |
| run: cargo build -p harmont-cli --release | |
| - name: install vhs + ffmpeg | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y ffmpeg | |
| curl -fsSL https://github.com/charmbracelet/vhs/releases/download/v0.7.2/vhs_0.7.2_amd64.deb -o /tmp/vhs.deb | |
| sudo dpkg -i /tmp/vhs.deb | |
| - name: smoke-run run.tape | |
| # Non-deterministic frames are OK — we only assert exit-zero. | |
| # The dev.tape references examples/dev-demo/ which doesn't | |
| # exist yet, so it is intentionally skipped here. | |
| run: | | |
| if [ -d examples/rust ]; then | |
| export PATH="$PWD/target/release:$PATH" | |
| vhs docs/demo/run.tape || { | |
| echo "vhs run.tape failed — TUI smoke regression"; | |
| exit 1; | |
| } | |
| else | |
| echo "examples/rust missing, skipping" | |
| fi |