ci(deps): bump actions/setup-node from 4 to 6 (#4) #21
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: Frontend Quality | |
| on: | |
| push: | |
| paths: | |
| - "frontend/**" | |
| - ".github/workflows/frontend.yml" | |
| pull_request: | |
| paths: | |
| - "frontend/**" | |
| - ".github/workflows/frontend.yml" | |
| concurrency: | |
| group: frontend-quality-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: frontend | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| cache: npm | |
| cache-dependency-path: frontend/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint (Oxlint) | |
| run: npx --yes oxlint@latest --disable-nested-config src | |
| - name: Format check (Prettier) | |
| run: npx --yes prettier --check . | |
| - name: Type check (TypeScript) | |
| run: npx tsc --noEmit | |
| - name: Build | |
| run: npm run build |