Skip to content

fix: Use gpt-4o-mini & update email to light theme matching platform #43

fix: Use gpt-4o-mini & update email to light theme matching platform

fix: Use gpt-4o-mini & update email to light theme matching platform #43

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
test:
runs-on: ubuntu-latest
services:
redis:
image: redis:7-alpine
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests
run: npm test
env:
NODE_ENV: test
REDIS_URL: redis://localhost:6379
DATABASE_URL: postgresql://test:test@localhost:5432/test
SUPABASE_URL: https://test.supabase.co
SUPABASE_ANON_KEY: test-key
SUPABASE_SERVICE_ROLE_KEY: test-key
OPENAI_API_KEY: sk-test
GITHUB_CLIENT_ID: test
GITHUB_CLIENT_SECRET: test
GITHUB_CALLBACK_URL: http://localhost:3000/callback
ENCRYPTION_KEY: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
FRONTEND_URL: http://localhost:3000
- name: Build
run: npm run build
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Run security audit
run: npm audit --audit-level=moderate