mirror of
https://github.com/supabase/setup-cli.git
synced 2026-02-12 05:11:37 +00:00
Adds titles for a TOC
This commit is contained in:
@@ -4,6 +4,8 @@ You can use the Supabase CLI to automatically generate Typescript definitions fr
|
|||||||
|
|
||||||
Inside your repository, create a new file inside the `.github/workflows` folder called `generate-types.yml`. Copy this snippet inside the file, and the action will run whenever a new PR is created:
|
Inside your repository, create a new file inside the `.github/workflows` folder called `generate-types.yml`. Copy this snippet inside the file, and the action will run whenever a new PR is created:
|
||||||
|
|
||||||
|
## Verify types
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
name: 'generate-types'
|
name: 'generate-types'
|
||||||
on:
|
on:
|
||||||
@@ -27,3 +29,8 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## More resources
|
||||||
|
|
||||||
|
- Using supabase-js with type definitions: [Typescript Support](https://supabase.com/docs/reference/javascript/typescript-support)
|
||||||
Reference in New Issue
Block a user