Apply suggestion from @Copilot #3
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 CI | |
| on: | |
| push: | |
| paths: | |
| - 'frontend/**' | |
| pull_request: | |
| paths: | |
| - 'frontend/**' | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./frontend | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Lint | |
| run: npm run lint | |
| - name: Build | |
| run: npm run build | |
| # - name: Test | |
| # run: npm test | |
| # note: "Tests are currently skipped due to an environment issue (uv_cwd error). See issue #<issue-number> for details." |