Skip to content

docs: put the deploy button above the fold and sell it #5

docs: put the deploy button above the fold and sell it

docs: put the deploy button above the fold and sell it #5

Workflow file for this run

# Runs on every push and pull request. Needs no network access to cloro:
# the tests stub fetch. A Postgres service backs the database-backed suites,
# which skip themselves when DATABASE_URL is absent.
#
# Note: while this project lives inside another repository, GitHub ignores
# this file. It starts running once geo-tracker is its own repository.
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
check:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
env:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: geo_tracker_test
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm test
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/geo_tracker_test
- run: pnpm typecheck
- run: pnpm format:check
# No DATABASE_URL on purpose: the build must succeed without one, or
# the first deployment fails before the database is attached.
- run: pnpm build