feat(tui): add People browser #800
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: Documentation fixture evidence | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| docs-fixtures: | |
| runs-on: ubuntu-24.04 | |
| container: | |
| image: mcr.microsoft.com/playwright:v1.61.1-noble@sha256:5b8f294aff9041b7191c34a4bab3ac270157a28774d4b0660e9743297b697e48 | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Install build tools | |
| run: | | |
| rm -f /etc/apt/sources.list.d/nodesource.list | |
| apt-get update -o Acquire::Retries=3 -o Acquire::http::Timeout=30 | |
| apt-get install -y --no-install-recommends gcc g++ libsqlite3-dev make curl tar gzip file ripgrep unzip | |
| - name: Trust the checkout in the container | |
| run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 | |
| with: | |
| bun-version-file: web/package.json | |
| - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 | |
| - name: Install documentation dependencies | |
| working-directory: docs | |
| run: uv sync --frozen --no-dev | |
| - name: Fetch the pinned fixture branch | |
| run: git fetch --no-tags origin +refs/heads/docs-fixtures:refs/remotes/origin/docs-fixtures | |
| - name: Install frontend dependencies | |
| working-directory: web | |
| run: bun install --frozen-lockfile | |
| - name: Test, validate, and smoke-test the real fixture | |
| run: make docs-fixture-test docs-fixture-check docs-fixture-smoke | |
| - name: Build documentation | |
| run: make docs-check | |
| - name: Capture browser evidence and compare with published assets | |
| env: | |
| MSGVAULT_DOCS_SCREENSHOT_OUTPUT_DIR: ${{ runner.temp }}/docs-fixture-captures | |
| MSGVAULT_DOCS_SCREENSHOT_COMPARE_DIR: ${{ github.workspace }}/docs/assets/static | |
| run: MSGVAULT_DOCS_SCREENSHOT_PLATFORM=linux make docs-web-screenshots | |
| - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| if: failure() | |
| with: | |
| name: docs-fixture-browser-failures | |
| path: | | |
| web/playwright-report | |
| web/test-results | |
| if-no-files-found: ignore | |
| docs-fixtures-darwin: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Install documentation tools | |
| run: HOMEBREW_NO_REQUIRE_TAP_TRUST=1 brew install ripgrep | |
| - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 | |
| with: | |
| bun-version-file: web/package.json | |
| - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 | |
| - name: Install documentation dependencies | |
| working-directory: docs | |
| run: uv sync --frozen --no-dev | |
| - name: Fetch the pinned fixture branch | |
| run: git fetch --no-tags origin +refs/heads/docs-fixtures:refs/remotes/origin/docs-fixtures | |
| - name: Install frontend dependencies | |
| working-directory: web | |
| run: bun install --frozen-lockfile | |
| - name: Install Chromium | |
| working-directory: web | |
| run: bunx playwright install chromium | |
| - name: Test, validate, and smoke-test the real fixture | |
| run: make docs-fixture-test docs-fixture-check docs-fixture-smoke | |
| - name: Build documentation | |
| run: make docs-check | |
| - name: Capture browser evidence and compare with published assets | |
| env: | |
| MSGVAULT_DOCS_SCREENSHOT_OUTPUT_DIR: ${{ runner.temp }}/docs-fixture-captures | |
| MSGVAULT_DOCS_SCREENSHOT_COMPARE_DIR: ${{ github.workspace }}/docs/assets/static | |
| run: MSGVAULT_DOCS_SCREENSHOT_PLATFORM=darwin make docs-web-screenshots | |
| - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| if: failure() | |
| with: | |
| name: docs-fixture-browser-failures-darwin | |
| path: | | |
| web/playwright-report | |
| web/test-results | |
| if-no-files-found: ignore |