Skip to content

Charge the Lightpanda headless browser like a training crawler #9

Charge the Lightpanda headless browser like a training crawler

Charge the Lightpanda headless browser like a training crawler #9

Workflow file for this run

name: ci
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
test:
name: install, typecheck, test, build (Bun)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# The version comes from packageManager in package.json, the same Bun the
# image (.nixpacks/Dockerfile) pins.
- uses: oven-sh/setup-bun@v2
with:
bun-version-file: package.json
- run: bun install --frozen-lockfile
- run: bun run typecheck
- run: bun run test
# The build must not need the database (it runs in the image, with no
# DATABASE_URL): routes that read Postgres render per request.
- run: bun run build