Files
chainlit--chainlit/.github/workflows/check-frontend.yaml
T
wehub-resource-sync b7f52be4c9
Copilot Setup Steps / copilot-setup-steps (push) Waiting to run
CI / Run CI (push) Has been cancelled
CI / check-backend (push) Has been cancelled
CI / check-frontend (push) Has been cancelled
CI / tests (push) Has been cancelled
CI / e2e-tests (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:48:47 +08:00

30 lines
772 B
YAML

name: Check frontend & libs
on: [workflow_call]
permissions:
contents: read
jobs:
check-frontend:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: 'Linting: frontend'
command: pnpm lint
- name: 'Formatting: frontend'
command: pnpm format-check
- name: 'Type checking: frontend'
command: pnpm type-check
name: ${{ matrix.name }}
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/pnpm-node-install
name: Install Node, pnpm and dependencies.
- name: Build @chainlit/react-client
run: pnpm --filter @chainlit/react-client build
- name: ${{ matrix.name }}
run: ${{ matrix.command }}