File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,15 @@ jobs:
39
39
- name : Verify generated supabase types are checked in
40
40
working-directory : packages/server
41
41
run : |
42
- npm run gentypes
42
+ supabase gen types typescript --local --schema public > src/@types/schema.ts
43
43
if ! git diff --ignore-space-at-eol --exit-code --quiet src/@types/schema.ts; then
44
44
echo "Detected uncommitted changes after build. See status below:"
45
45
git diff
46
46
exit 1
47
47
fi
48
+ env :
49
+ TYPECELL_GITHUB_OAUTH_SECRET : ${{ secrets.TYPECELL_GITHUB_OAUTH_SECRET }}
50
+ TYPECELL_GOOGLE_OAUTH_SECRET : ${{ secrets.TYPECELL_GOOGLE_OAUTH_SECRET }}
48
51
49
52
# doesn't seem to cause significant speed up, probably because it still needs to install deps
50
53
- name : cache playwright
Original file line number Diff line number Diff line change 41
41
"unittest:vitest" : " vitest run --coverage " ,
42
42
"unittest:playwright" : " playwright-test '**/*.browsertest.ts'" ,
43
43
"testFIXME" : " npm run unittest:vitest && npm run unittest:playwright" ,
44
- "gentypes" : " npx supabase gen types typescript --local --schema public > src/@types/schema.ts"
44
+ "gentypes" : " ./ supabase.sh gen types typescript --local --schema public > src/@types/schema.ts"
45
45
}
46
46
}
Original file line number Diff line number Diff line change 5
5
source .env.local
6
6
export TYPECELL_GOOGLE_OAUTH_SECRET
7
7
export TYPECELL_GITHUB_OAUTH_SECRET
8
- npx supabase $1
8
+ npx supabase " $@ "
You can’t perform that action at this time.
0 commit comments