Skip to content

feat(pglite): pgpm→PGlite plugin — pg-cache + pgsql-client driver seams, @pgpmjs/pglite-adapter, pglite-test #3

feat(pglite): pgpm→PGlite plugin — pg-cache + pgsql-client driver seams, @pgpmjs/pglite-adapter, pglite-test

feat(pglite): pgpm→PGlite plugin — pg-cache + pgsql-client driver seams, @pgpmjs/pglite-adapter, pglite-test #3

Workflow file for this run

name: PGlite PoC
# Proof of concept: the pgpm migrate engine deploying real migrations into PGlite
# (WASM Postgres). Deliberately has NO `services:` block — PGlite runs in-process,
# so no Postgres service container is needed.
on:
push:
branches: [main, v1]
paths:
- 'poc/pglite/**'
- '.github/workflows/pglite-poc.yaml'
pull_request:
branches: [main, v1]
paths:
- 'poc/pglite/**'
- '.github/workflows/pglite-poc.yaml'
workflow_dispatch:
jobs:
pglite-poc:
if: github.event.pull_request.draft != true
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install (standalone, not the monorepo)
working-directory: poc/pglite
run: npm ci
- name: Deploy pgpm migrations into PGlite (no Postgres service)
working-directory: poc/pglite
run: npm start