Skip to content

Merge pull request #9 from deeplift-io/feature/ani-3-deploy-to-produc… #2

Merge pull request #9 from deeplift-io/feature/ani-3-deploy-to-produc…

Merge pull request #9 from deeplift-io/feature/ani-3-deploy-to-produc… #2

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
- develop
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: supabase/setup-cli@v1
with:
version: latest
- run: supabase db start
- run: supabase db lint
- run: supabase test db
- name: Verify generated types are checked in
run: |
supabase gen types typescript --local > types.gen.ts
if ! git diff --ignore-space-at-eol --exit-code --quiet types.gen.ts; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi