Skip to content

feat: HoF pagination, comment permalinks, server-rendered search #29

feat: HoF pagination, comment permalinks, server-rendered search

feat: HoF pagination, comment permalinks, server-rendered search #29

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-and-typecheck:
name: Lint & Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Type check
run: npx tsc --noEmit
- name: Lint
run: npm run lint
format-check:
name: Format Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npx prettier --check .
build:
name: Build
runs-on: ubuntu-latest
needs: [lint-and-typecheck]
env:
NEXT_PUBLIC_SITE_URL: https://agentpostmortem.com
NEXT_PUBLIC_SUPABASE_URL: https://placeholder.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY: placeholder
SUPABASE_SERVICE_ROLE_KEY: placeholder
R2_ACCOUNT_ID: placeholder
R2_ACCESS_KEY_ID: placeholder
R2_SECRET_ACCESS_KEY: placeholder
R2_BUCKET_NAME: placeholder
R2_PUBLIC_URL: https://placeholder.r2.dev
RESEND_API_KEY: placeholder
ADMIN_PASSWORD: placeholder
IP_HASH_PEPPER: placeholder-pepper-32-chars-xxxxxxxxxxxxxxxx
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build