Skip to content

chore: rely on default role bootstrap, drop inline timeouts, node 22 #12

chore: rely on default role bootstrap, drop inline timeouts, node 22

chore: rely on default role bootstrap, drop inline timeouts, node 22 #12

Workflow file for this run

name: PGlite tests
on:
push:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- hello-world
- pgvector
# No services. No Postgres, no Supabase CLI, no Docker, no MinIO.
# PGlite runs in-process (WASM), so tests need nothing but Node + pnpm.
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'pnpm'
- name: Install
run: pnpm install --frozen-lockfile
- name: Test ${{ matrix.package }}
run: cd ./packages/${{ matrix.package }} && pnpm test