Commit b349b48 1 parent 49a6d0b commit b349b48 Copy full SHA for b349b48
File tree 1 file changed +20
-20
lines changed
1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change 1
- name : ' generate-types'
2
- on :
3
- push :
1
+ # name: 'generate-types'
2
+ # on:
3
+ # push:
4
4
5
- jobs :
6
- build :
7
- runs-on : ubuntu-latest
8
- steps :
9
- - uses : supabase/setup-cli@v1
10
- with :
11
- version : latest
12
- - run : supabase init
13
- - run : supabase db start
14
- - name : Verify generated types match Postgres schema
15
- run : |
16
- supabase gen types typescript --project-id ${{ secrets.PROJECT_REF }} --schema public > src/renderer/types/ database.types.ts
17
- if ! git diff --ignore-space-at-eol --exit-code --quiet src/renderer/types/database.types.ts; then
18
- echo "Detected uncommitted changes after build. See status below:"
19
- git diff
20
- exit 1
21
- fi
5
+ # jobs:
6
+ # build:
7
+ # runs-on: ubuntu-latest
8
+ # steps:
9
+ # - uses: supabase/setup-cli@v1
10
+ # with:
11
+ # version: latest
12
+ # - run: supabase init
13
+ # - run: supabase db start
14
+ # - name: Verify generated types match Postgres schema
15
+ # run: |
16
+ # supabase gen types typescript --project-id ${{ secrets.PROJECT_REF }} --schema public > database.types.ts
17
+ # if ! git diff --ignore-space-at-eol --exit-code --quiet src/renderer/types/database.types.ts; then
18
+ # echo "Detected uncommitted changes after build. See status below:"
19
+ # git diff
20
+ # exit 1
21
+ # fi
You can’t perform that action at this time.
0 commit comments