Skip to content

fix(ci): re-embed runbook_set schema to unblock main #22

fix(ci): re-embed runbook_set schema to unblock main

fix(ci): re-embed runbook_set schema to unblock main #22

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: Local CI Gate
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
cache-dependency-path: |
go.sum
sdk/go/go.sum
examples/sdk/go/go.sum
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
cache-dependency-path: tools/requirements.txt
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
cache: maven
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r tools/requirements.txt
- name: Download Go modules
run: |
go mod download
(cd sdk/go && go mod download)
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install web dependencies
working-directory: web
run: npx pnpm@9 install --frozen-lockfile
- name: Install Playwright browsers
working-directory: web
run: npx playwright install --with-deps chromium
- name: Check environment
run: make check-env
- name: Run CI
run: make ci
- name: Run Playwright UI tests
run: |
make quickstart &
for i in $(seq 1 30); do
curl -sf http://localhost:8080/healthz > /dev/null 2>&1 && break
sleep 1
done
cd web && npx playwright test --reporter=list
cd .. && make stop-all