chore: clean completed todos #7
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] | |
| pull_request: | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install root deps | |
| run: npm install | |
| - name: Typecheck | |
| run: npm run typecheck | |
| - name: Unit & integration tests | |
| run: npm run test | |
| - name: Build | |
| run: npm run build | |
| - name: Install dashboard deps | |
| run: npm install | |
| working-directory: dashboard | |
| - name: Install Playwright browsers | |
| run: npx playwright install --with-deps | |
| working-directory: dashboard | |
| - name: Build dashboard | |
| run: npm run build | |
| working-directory: dashboard | |
| - name: Dashboard E2E tests | |
| run: npm run test:e2e | |
| working-directory: dashboard |