fix haptic #370
Workflow file for this run
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】Biome Lint & Format | |
| on: | |
| pull_request: | |
| paths: | |
| - "frontend/**" | |
| - ".github/**" | |
| jobs: | |
| biome: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: "frontend/package.json" | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v5 | |
| with: | |
| package_json_file: frontend/package.json | |
| - name: Cache pnpm dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.pnpm-store | |
| key: ${{ runner.os }}-pnpm-${{ hashFiles('frontend/pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm- | |
| - name: Install dependencies | |
| working-directory: ./frontend | |
| run: pnpm install | |
| - name: Run Biome check | |
| working-directory: ./frontend | |
| run: pnpm run lint |