mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-03-17 18:22:39 -05:00
* feat: generate flat files * feat: init mcp * feat: enhance tab labels with themed icons and add new logos for programming languages * feat: install in onboarding flows * structural cleanup * chore: remove desktop and add buttons * feat: posthog instrumentation * fix: responsive buttons * nit: raw * feat: minisearch * feat: wip improved search * feat: update MCP installation documentation and links * chore: lint * chore: cleanup comment * fix: docstring * fix: improve search highlighting and scrolling behavior * chore: lint * chore: review * feat: add safeBase64Encode function and update origin handling in theme.config.tsx * chore: feedback * feat: ruby logo * chore: lint
94 lines
2.6 KiB
YAML
94 lines
2.6 KiB
YAML
name: "frontend / docs"
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'frontend/docs/**'
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubicloud-standard-2
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v6
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 10.16.1
|
|
run_install: false
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
cache: pnpm
|
|
cache-dependency-path: frontend/docs/pnpm-lock.yaml
|
|
- name: Install dependencies
|
|
working-directory: frontend/docs
|
|
run: pnpm install --frozen-lockfile
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.14'
|
|
- name: Generate snippets
|
|
working-directory: frontend/snippets
|
|
run: python3 generate.py
|
|
- name: Lint
|
|
working-directory: frontend/docs
|
|
run: npm run lint:check
|
|
|
|
search-quality:
|
|
runs-on: ubicloud-standard-2
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v6
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 10.16.1
|
|
run_install: false
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
cache: pnpm
|
|
cache-dependency-path: frontend/docs/pnpm-lock.yaml
|
|
- name: Install dependencies
|
|
working-directory: frontend/docs
|
|
run: pnpm install --frozen-lockfile
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.14'
|
|
- name: Generate snippets
|
|
working-directory: frontend/snippets
|
|
run: python3 generate.py
|
|
- name: Generate search index
|
|
working-directory: frontend/docs
|
|
run: pnpm run generate-llms
|
|
- name: Run search quality tests
|
|
working-directory: frontend/docs
|
|
run: pnpm run test-search
|
|
|
|
build:
|
|
runs-on: ubicloud-standard-2
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v6
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 10.16.1
|
|
run_install: false
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
cache: pnpm
|
|
cache-dependency-path: frontend/docs/pnpm-lock.yaml
|
|
- name: Install dependencies
|
|
working-directory: frontend/docs
|
|
run: pnpm install --frozen-lockfile
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.14'
|
|
- name: Generate snippets
|
|
working-directory: frontend/snippets
|
|
run: python3 generate.py
|
|
- name: Build
|
|
working-directory: frontend/docs
|
|
run: npm run build
|