chore: fix linter #4800
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 Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "web/**" | |
| jobs: | |
| static-checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: pnpm/action-setup@v4.1.0 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: "20" | |
| cache: pnpm | |
| cache-dependency-path: "web/pnpm-lock.yaml" | |
| - run: pnpm install | |
| working-directory: web | |
| - name: Run check | |
| run: pnpm lint | |
| working-directory: web | |
| frontend-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: pnpm/action-setup@v4.1.0 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: "20" | |
| cache: pnpm | |
| cache-dependency-path: "web/pnpm-lock.yaml" | |
| - run: pnpm install | |
| working-directory: web | |
| - name: Run frontend build | |
| run: pnpm build | |
| working-directory: web |