chore(deps): update pnpm to v9 #120
This file contains 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: On PR | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [lts/-2, lts/-1, lts/*, current] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pnpm 📦️ | |
uses: pnpm/action-setup@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: pnpm | |
- run: node --version | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm run lint | |
- run: pnpm run test | |
- run: pnpm run build | |
- run: pnpm run format:check | |
- uses: codecov/codecov-action@v4 |