mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 23:29:08 +03:00
* ci: ai tests * chore(ai-commands): update readme * fix: dont load .env.local in ci environment * fix: pass openai env variable into ci job * feat(ai): llm evaluated tests * chore(ai): remove unused jest snapshots
11 lines
239 B
TypeScript
11 lines
239 B
TypeScript
import { config } from 'dotenv'
|
|
import { statSync } from 'fs'
|
|
|
|
if (!process.env.CI) {
|
|
// Use keys from studio .env.local for local tests
|
|
const envPath = '../../apps/studio/.env.local'
|
|
|
|
statSync(envPath)
|
|
config({ path: envPath })
|
|
}
|