Skip to content

improve nearby node arcs #24

improve nearby node arcs

improve nearby node arcs #24

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
env:
SKIP_ENV_VALIDATION: "1"
APP_SECRET: ci-test-secret-minimum-32-chars
DATABASE_URL: postgres://ci:ci@localhost:5432/ci
NEXT_PUBLIC_BASE_URL: http://localhost:3000
services:
postgres:
image: postgres:17-alpine
env:
POSTGRES_USER: ci
POSTGRES_PASSWORD: ci
POSTGRES_DB: ci
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -U ci -d ci"
--health-interval 5s
--health-timeout 3s
--health-retries 10
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: pnpm
- run: pnpm install --frozen-lockfile
# Apply schema (ltree ext, triggers, indexes) so integration tests have a DB.
- run: pnpm db:migrate
- run: pnpm test
- run: pnpm typecheck
- run: pnpm build