mirror of
https://github.com/hanzoai/o11y-components.git
synced 2026-11-02 14:03:22 +00:00
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.
42 lines
913 B
YAML
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
|