Skip to content

📝 Tighten CLI README positioning #339

📝 Tighten CLI README positioning

📝 Tighten CLI README positioning #339

Workflow file for this run

name: TUI Visual Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
visual:
name: Visual Tests
runs-on: ubuntu-latest
timeout-minutes: 8
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Use Node.js 22
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 22
- name: Setup tui-driver
uses: vizzly-testing/tui-driver@f21ea93489f2160eccf4d58844e456a9b38a0491 # main
- name: Install pnpm
run: corepack enable && corepack prepare pnpm@11.3.0 --activate
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build
- name: Run TUI visual tests
run: node bin/vizzly.js run "pnpm run test:tui"
env:
CI: true
VIZZLY_TOKEN: ${{ secrets.VIZZLY_TUI_TOKEN }}
VIZZLY_COMMIT_MESSAGE: ${{ github.event.pull_request.head.commit.message || github.event.head_commit.message }}
VIZZLY_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.event.head_commit.id }}