chadtmiller.com/pds.js
An atproto PDS in JavaScript, for Cloudflare Workers and Node
0
0
# The gate: `npm run ci`, on every branch pushed and on pulls into main.
# The UI build in it comes first: @pdsjs/account-ui exports a gitignored
# bundle, and without it tsc and the tests cannot resolve the node and
# cloudflare entrypoints. The e2e suite needs the docker-compose stack, so
# it is not part of the gate.
#
# trixie, not bookworm: better-sqlite3's prebuilt binary needs glibc 2.38
# or newer. corepack activates the pnpm that package.json pins.
runners: [runner.knotless.dev]
on:
push: {refs: [refs/heads/*]}
pull: {base: [refs/heads/main]}
queue: first
image: node:22-trixie
cache: [/root/.local/share/pnpm/store, /root/.cache/node/corepack]
env:
COREPACK_ENABLE_DOWNLOAD_PROMPT: "0"
steps:
- name: install
run: |
corepack enable
pnpm install --frozen-lockfile
- name: ci
run: npm run ci