Files
zeekay 5a4cb07111 add workflow_dispatch so this lane can be re-run by hand
Every other pipeline in the fleet carries it; without it the only way to
re-run after a fix elsewhere is to invent a commit.
2026-08-13 21:13:02 -07:00

42 lines
913 B
YAML

name: UI Tests
on:
push:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: hanzo-build-linux-amd64
container:
# Make sure to grab the latest version of the Playwright image
# https://playwright.dev/docs/docker#pull-the-image
image: mcr.microsoft.com/playwright:v1.58.2-noble
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js 24.x
uses: actions/setup-node@v6
with:
node-version: 24
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build packages
run: pnpm build
- name: Run tests
working-directory: apps/docs
run: pnpm run test-storybook