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 }}