Skip to content

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

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 #4

Workflow file for this run

name: PGlite (socket e2e)
# End-to-end demonstration of the pgpm migrate engine deploying real migrations
# into PGlite (WASM Postgres) over the pg-gateway wire-protocol shim, using the
# UNMODIFIED published @pgpmjs/core. Standalone (own lockfile, outside the pnpm
# workspace). Deliberately has NO `services:` block — PGlite runs in-process, so
# no Postgres service container is needed.
#
# The in-process driver path (@pgpmjs/pglite-adapter + pglite-test) is covered
# separately by the no-services `unit-tests (pglite ...)` job in run-tests.yaml.
on:
push:
branches: [main, v1]
paths:
- 'poc/pglite/**'
- '.github/workflows/pglite.yaml'
pull_request:
branches: [main, v1]
paths:
- 'poc/pglite/**'
- '.github/workflows/pglite.yaml'
workflow_dispatch:
jobs:
pglite-socket-e2e:
if: github.event.pull_request.draft != true
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install (standalone, ignoring the monorepo workspace)
working-directory: poc/pglite
run: pnpm install --ignore-workspace --frozen-lockfile
- name: Deploy pgpm migrations into PGlite (no Postgres service)
working-directory: poc/pglite
run: pnpm start