Skip to content

Rewrite privacy policy for GDPR and CCPA compliance #70

Rewrite privacy policy for GDPR and CCPA compliance

Rewrite privacy policy for GDPR and CCPA compliance #70

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint & Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run check
build:
name: Build
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run build
test:
name: Tests
needs: build
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: restarred-test
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/restarred-test
CRYPTO_PEPPER: test-pepper-do-not-use-in-production
APP_URL: http://localhost:3000
PORT: "3000"
EMAIL_PROVIDER: console
FROM_EMAIL: test@test.com
FROM_NAME: Test
GITHUB_CLIENT_ID: test-client-id
GITHUB_CLIENT_SECRET: test-client-secret
ENCRYPTION_KEY: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
NODE_ENV: test
steps:
- uses: actions/checkout@v5
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run build
- run: bun run test