feat: Upgrade react-ui package to support @assistant-ui/react v0.11 #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Quality | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
name: ESLint & Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Setup node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Run ESLint | |
run: pnpm eslint | |
continue-on-error: true # Don't fail the workflow if ESLint has errors | |
# TODO: fix all eslint errors | |
- name: Run Prettier | |
run: pnpm prettier | |
# This will fail the workflow if Prettier has warnings |