Skip to content

Wire up Supabase auth, Creem billing, and credits #16

Wire up Supabase auth, Creem billing, and credits

Wire up Supabase auth, Creem billing, and credits #16

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions: {}
jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run typecheck
oxlint:
name: Oxlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: lts/*
cache: npm
- run: npm ci
- run: npm run lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run test
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build
env:
NEXT_PUBLIC_SUPABASE_URL: http://localhost:54321
NEXT_PUBLIC_SUPABASE_ANON_KEY: placeholder
NEXT_PUBLIC_APP_URL: http://localhost:3000
NEXT_PUBLIC_CREEM_PRODUCT_ID_PRO: placeholder
NEXT_PUBLIC_CREEM_PRODUCT_ID_BUSINESS: placeholder
NEXT_PUBLIC_CREEM_PRODUCT_ID_CREDITS: placeholder