mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
5f9a1102de
- showcase_deploy.yml: build + push Docker images for all packages and starters - showcase_drift-detection.yml: nightly E2E tests against live deployments - showcase_qa-sync.yml: sync QA checklists to Notion - showcase_validate.yml: validate manifests and registry on PR
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
name: "Showcase: Validate"
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "showcase/**"
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- "showcase/**"
|
|
|
|
concurrency:
|
|
group: showcase-validate-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
validate:
|
|
name: Validate Showcase
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
|
|
- name: Verify lockfile is up to date
|
|
run: pnpm install --frozen-lockfile --ignore-scripts
|
|
|
|
- name: Run build pipeline tests
|
|
working-directory: showcase/scripts
|
|
run: npx vitest run
|
|
|
|
- name: Validate manifests & generate registry
|
|
working-directory: showcase/scripts
|
|
run: npx tsx generate-registry.ts
|
|
|
|
- name: Bundle demo content
|
|
working-directory: showcase/scripts
|
|
run: npx tsx bundle-demo-content.ts
|
|
|
|
- name: Build showcase shell
|
|
working-directory: showcase/shell
|
|
run: pnpm build
|