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);
7
7
export function SupabaseProvider ( props : { children : React . ReactNode } ) {
8
8
const [ client ] = React . useState ( ( ) =>
9
9
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"
12
12
)
13
13
) ;
14
14
Original file line number Diff line number Diff line change 21
21
"prepare" : " husky install" ,
22
22
"codegen" : " graphql-codegen" ,
23
23
"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"
25
27
}
26
28
}
You can’t perform that action at this time.
0 commit comments