Bug fixes: Improve Task Workflows, Project Permissions, Pagination, and UI Consistency #191
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: [ develop ] | |
| pull_request: | |
| branches: [ develop ] | |
| # Cancel any in-progress run for the same branch/PR when a newer commit lands. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: '24' | |
| cache: 'npm' | |
| # Runs `nuxt prepare` via the postinstall hook, which generates the .nuxt | |
| # types + eslint typegen that both `lint` and `typecheck` rely on. | |
| - name: Install dependencies | |
| run: npm install | |
| # The quality steps below use `if: ${{ !cancelled() }}` so every check runs | |
| # and reports its own result even when an earlier one fails. | |
| - name: Lint | |
| if: ${{ !cancelled() }} | |
| run: npm run lint | |
| - name: Type check | |
| if: ${{ !cancelled() }} | |
| run: npm run typecheck | |
| - name: Unit tests | |
| if: ${{ !cancelled() }} | |
| run: npm test | |
| - name: Install Playwright browser | |
| if: ${{ !cancelled() }} | |
| run: npx playwright install --with-deps chromium | |
| - name: E2E tests | |
| if: ${{ !cancelled() }} | |
| run: npm run test:e2e | |
| - name: Upload Playwright report | |
| if: ${{ !cancelled() }} | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: playwright-report | |
| path: playwright-report/ | |
| retention-days: 7 |