chore(deps): update pnpm to v11 #846
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: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Set node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.18.0 | |
| cache: pnpm | |
| - name: Install | |
| run: pnpm i --frozen-lockfile | |
| - name: Lint | |
| run: pnpm run lint | |
| base: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| node_version: [20, 22] | |
| include: | |
| # Active LTS + other OS | |
| - os: macos-latest | |
| node_version: 22 | |
| - os: windows-latest | |
| node_version: 22 | |
| fail-fast: false | |
| runs-on: ${{ matrix.os }} | |
| name: "node-${{ matrix.node_version }}, ${{ matrix.os }}" | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Set node ${{ matrix.node_version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node_version }} | |
| cache: pnpm | |
| - name: Install | |
| run: pnpm i --frozen-lockfile | |
| - name: Type Check | |
| run: pnpm run typecheck | |
| - name: Build | |
| run: pnpm run build | |
| - name: Test | |
| run: pnpm run test |