Skip to content

Stripe cleanup

Stripe cleanup #45

Workflow file for this run

name: CI
on:
pull_request:
branches: ["*"]
push:
branches: ["main"]
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
# You can leverage Vercel Remote Caching with Turbo to speed up your builds
# @link https://turborepo.org/docs/core-concepts/remote-caching#remote-caching-on-vercel-builds
env:
FORCE_COLOR: 3
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
# Auth environment variables
AUTH_SECRET: 'build-time-secret-placeholder'
AUTH_DISCORD_ID: 'build-placeholder'
AUTH_DISCORD_SECRET: 'build-placeholder'
AUTH_GITHUB_ID: 'build-placeholder'
AUTH_GITHUB_SECRET: 'build-placeholder'
AUTH_GOOGLE_ID: 'build-placeholder'
AUTH_GOOGLE_SECRET: 'build-placeholder'
# Stripe environment variables
STRIPE_SECRET_KEY: 'sk_test_placeholder_for_build'
STRIPE_WEBHOOK_SECRET: 'whsec_build_placeholder'
# OpenAI environment variables
OPENAI_API_KEY: 'sk-build-placeholder'
OPENAI_API_URL: 'https://api.openai.com/v1/'
# Database and other services
POSTGRES_URL: 'postgresql://build:placeholder@localhost:5432/build'
PUBLIC_WEB_URL: 'http://localhost:3000'
SUPABASE_SECRET: 'build-placeholder-secret'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./tooling/github/setup
- name: Check (lint and format)
run: pnpm check
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./tooling/github/setup
- name: Typecheck
run: pnpm typecheck
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./tooling/github/setup
- name: Build
run: pnpm build