Eliminar .gitea/workflows/ci.yaml
This commit is contained in:
@@ -1,41 +0,0 @@
|
|||||||
name: CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- uses: supabase/setup-cli@v1
|
|
||||||
with:
|
|
||||||
version: 1.119.1
|
|
||||||
|
|
||||||
- name: Add swap (avoid exit 137)
|
|
||||||
run: |
|
|
||||||
sudo fallocate -l 4G /swapfile
|
|
||||||
sudo chmod 600 /swapfile
|
|
||||||
sudo mkswap /swapfile
|
|
||||||
sudo swapon /swapfile
|
|
||||||
free -h
|
|
||||||
|
|
||||||
- name: Docker prune
|
|
||||||
run: |
|
|
||||||
docker system prune -af || true
|
|
||||||
docker volume prune -f || true
|
|
||||||
|
|
||||||
- name: Start Supabase local development setup
|
|
||||||
run: supabase db start --debug
|
|
||||||
|
|
||||||
- name: Verify generated types are checked in
|
|
||||||
run: |
|
|
||||||
supabase gen types typescript --local > database-types.ts
|
|
||||||
if ! git diff --ignore-space-at-eol --exit-code --quiet database-types.ts; then
|
|
||||||
echo "Detected uncommitted changes after build. See status below:"
|
|
||||||
git diff
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
Reference in New Issue
Block a user