fix(jest): Configure tsconfig for proper JSX transformation #24
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: CI | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| run: npm install -g pnpm | |
| - name: Use Node.js 20.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Format check | |
| run: pnpm format --check || true | |
| - name: Build | |
| run: pnpm build | |
| - name: Install Playwright Browsers | |
| run: npx playwright install --with-deps | |
| - name: Run unit tests | |
| run: pnpm test | |
| - name: Run Playwright e2e tests | |
| run: pnpm test:e2e |