chore(deps): update pnpm to v10.6.1 #1309
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] | |
| jobs: | |
| build: | |
| name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| node: ['16.x', '18.x'] | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Use Node ${{ matrix.node }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Install PNPM | |
| uses: pnpm/[email protected] | |
| with: | |
| version: 6.0.2 | |
| - name: Install deps and build (with cache) | |
| run: pnpm install --no-frozen-lockfile | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Test | |
| run: pnpm test -- --ci --coverage --maxWorkers=2 | |
| - name: Build | |
| run: pnpm build | |
| coverage: | |
| name: coverage | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "16" | |
| - uses: pnpm/[email protected] | |
| with: | |
| version: 6.0.2 | |
| - run: pnpm install --no-frozen-lockfile | |
| - run: pnpm test | |
| - uses: paambaati/[email protected] | |
| env: | |
| CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
| with: | |
| debug: true |