Bump next from 16.2.9 to 16.2.11 #355
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: Run Tests | |
| on: | |
| push: | |
| branches: [ '*' ] | |
| pull_request: | |
| branches: [ '*' ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| CHONKIE_API_KEY: ${{ secrets.CHONKIE_API_KEY }} | |
| strategy: | |
| matrix: | |
| node-version: [20.x, 22.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build | |
| run: pnpm run build | |
| - name: Lint package exports | |
| run: pnpm --filter @chonkiejs/core exec publint | |
| - name: Run unit tests | |
| run: pnpm --filter @chonkiejs/core test | |
| - name: Run integration tests | |
| if: ${{ env.CHONKIE_API_KEY != '' }} | |
| run: pnpm --filter @chonkiejs/cloud test |