File tree Expand file tree Collapse file tree 3 files changed +28
-3
lines changed Expand file tree Collapse file tree 3 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+ on :
3+ push :
4+ pull_request :
5+
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v3
11+ - uses : the-guild-org/shared-config/setup@main
12+ with :
13+ nodeVersion : 16
14+ - run : yarn codegen
15+ - run : yarn workspace app run build
16+ lint :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v3
20+ - uses : the-guild-org/shared-config/setup@main
21+ with :
22+ nodeVersion : 16
23+ - run : yarn workspace app run lint
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ const SupabaseClientContext = React.createContext<SupabaseClient | null>(null);
77export function SupabaseProvider ( props : { children : React . ReactNode } ) {
88 const [ client ] = React . useState ( ( ) =>
99 createClient (
10- process . env . NEXT_PUBLIC_SUPABASE_URL ! ,
11- process . env . NEXT_PUBLIC_SUPABASE_ANON_KEY !
10+ process . env . NEXT_PUBLIC_SUPABASE_URL ?? "http://127.0.0.1:6969" ,
11+ process . env . NEXT_PUBLIC_SUPABASE_ANON_KEY ?? "noop"
1212 )
1313 ) ;
1414
Original file line number Diff line number Diff line change 2121 "prepare" : " husky install" ,
2222 "codegen" : " graphql-codegen" ,
2323 "codegen:fetch" : " node --no-warnings scripts/fetchGraphQLSchema " ,
24- "codegen:watch" : " yarn run codegen -- --watch"
24+ "codegen:watch" : " yarn run codegen -- --watch" ,
25+ "prebuild" : " yarn run codegen" ,
26+ "build" : " yarn workspaces run build"
2527 }
2628}
You can’t perform that action at this time.
0 commit comments