Skip to content

fix: remove packageManager field, restore pnpm to CI matrix #10

fix: remove packageManager field, restore pnpm to CI matrix

fix: remove packageManager field, restore pnpm to CI matrix #10

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
test:
name: Test on ${{ matrix.runtime }} / ${{ matrix.os }} / ${{ matrix.pm }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
experimental: [false]
runtime: [node, deno, bun]
pm: ["", pnpm, yarn]
steps:
- uses: actions/checkout@v4
- name: Remove lockfile
run: rm pnpm-lock.yaml
shell: bash
- name: Install panam
run: npm i -g panam-cli
- uses: siguici/setup-js@v1
with:
runtime: ${{ matrix.runtime }}
pm: ${{ matrix.pm }}
- uses: voidzero-dev/setup-vp@v1
with:
node-version: "24"
cache: true
- name: Format check
run: vp check
- name: Lint
run: vp lint
- name: Type check
run: pnpm exec tsc --noEmit
- name: Build
run: vp pack
- name: Test (Japa integration)
run: node bin/test.ts
- name: Test (Vitest unit)
run: vp test