fix(ci): install pnpm #2
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: Tests | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| name: Run tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - uses: pnpm/action-setup@v4.1.0 | |
| name: Install pnpm | |
| with: | |
| run_install: false | |
| - name: Install deps | |
| run: pnpm i --frozen-lockfile | |
| - name: Build | |
| run: yarn run build | |
| - name: Run ESLint & Prettier | |
| run: yarn run lint |