Files
copilotkit__copilotkit/.github/workflows/showcase_validate.yml
Jordan Ritter 810f8a4f4d feat: Docker + CI — Node 22, shared module copying
- Node 20 → 22 in all Dockerfiles + CI workflows
- CI copies shared_python, shared_frontend/src, shared_typescript/tools
- tsconfig paths for @copilotkit/showcase-shared
- .gitignore for CI artifacts
2026-04-13 19:57:59 -07:00

65 lines
1.7 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: 22
- 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: Install showcase shell dependencies
working-directory: showcase/shell
run: npm install --ignore-scripts
- name: Build showcase shell
working-directory: showcase/shell
run: npm run build
- name: Notify Slack (failure)
if: failure() && github.event_name == 'push'
uses: slackapi/slack-github-action@v2.1.0
with:
webhook: ${{ secrets.SLACK_WEBHOOK_OSS_ALERTS }}
webhook-type: incoming-webhook
payload: |
{ "text": ":x: *Showcase validate*: failed | <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View run>" }