Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ OPENAI_API_KEY="YOUR OPENAI API KEY"
# Override openai api request base url. (Optional)
# Default: https://api.openai.com/v1
# Examples: http://your-openai-proxy.com/v1
OPENAI_BASE_URL=
NEXT_PUBLIC_ELEVENLABS_API_KEY="YOUR ELEVENLABS API KEY"

NEXT_PUBLIC_ELEVENLABS_VOICE_ID="nWM88eUzTWbyiJW1K8NX"
OPENAI_BASE_URL=https://api.openai.com/v1
ELEVENLABS_API_KEY="YOUR ELEVENLABS API KEY"
ELEVENLABS_VOICE_ID="cgSgspJ2msm6clMCkdW9"
40 changes: 40 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI
on:
pull_request:
branches: [main]
env:
NODE_VERSION: 20.18.1
jobs:
prettier:
name: Prettier Format
runs-on: ubuntu-latest
steps:
- name: Checkout out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install packages
run: npm ci
- name: Check code format
run: npm run format

tsc:
name: TypeScript Compiler
runs-on: ubuntu-latest
steps:
- name: Checkout out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install packages
run: npm ci
- name: Run tsc
run: npm run tsc
Loading