Skip to content

Bump next from 16.2.9 to 16.2.11 #355

Bump next from 16.2.9 to 16.2.11

Bump next from 16.2.9 to 16.2.11 #355

Workflow file for this run

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