Fix new linter error #761
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 | |
| - pull_request | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.2 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4.2.0 | |
| with: | |
| version: latest | |
| run_install: false | |
| - name: Set up Node | |
| uses: actions/setup-node@v6.2.0 | |
| with: | |
| node-version: node | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install -r --ignore-scripts | |
| - name: Check formatting (Prettier) | |
| run: pnpm exec prettier -c . | |
| - name: Generate TypeScript types | |
| run: pnpm postbuild | |
| - name: Run type checks (TypeScript) | |
| run: pnpm tsc | |
| - name: Run linter (ESLint) | |
| run: pnpm lint |