chore: fix circular dependency with vite bundling updates (#61) #9
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: React CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "react/**" | |
| - ".github/workflows/react-ci.yml" | |
| push: | |
| branches: [main] | |
| paths: | |
| - "react/**" | |
| - ".github/workflows/react-ci.yml" | |
| jobs: | |
| react-quality: | |
| name: React Quality Checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Install dependencies | |
| working-directory: react | |
| run: npm ci | |
| - name: Lint check | |
| working-directory: react | |
| run: npm run lint:check | |
| - name: Type check | |
| working-directory: react | |
| run: npx tsc --noEmit | |
| - name: Run tests | |
| working-directory: react | |
| run: npm test -- --coverage --watchAll=false | |
| - name: Build | |
| working-directory: react | |
| run: npm run build |