supabase-ci-integration

Featured

Configure Supabase CI/CD pipelines with GitHub Actions: link projects, push migrations, deploy Edge Functions, generate types, and run tests against local Supabase instances. Use when setting up CI pipelines for Supabase, automating database migrations, deploying Edge Functions in CI, or running integration tests. Trigger with phrases like "supabase CI", "supabase GitHub Actions", "supabase deploy pipeline", "CI supabase migrations", "supabase preview branches".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Supabase CI Integration ## Overview Build GitHub Actions workflows that automate the full Supabase lifecycle: link projects in CI, push migrations on merge, deploy Edge Functions, generate TypeScript types, run tests against a local Supabase instance, and create preview branches for pull requests. Every database change gets validated before it reaches production. ## Prerequisites - GitHub repository with Actions enabled - Supabase project created at [supabase.com/dashboard](https://supabase.com/dashboard) - Supabase CLI initialized locally (`npx supabase init`) - Node.js 18+ in your project - `@supabase/supabase-js` installed: ```bash npm install @supabase/supabase-js ``` ## Instructions ### Step 1: Configure GitHub Secrets and Link in CI Store credentials as GitHub repository secrets. The CI pipeline uses these to authenticate with your Supabase project without exposing tokens in code. ```bash # Set secrets via GitHub CLI gh secret set SUPABASE_ACCESS_TOKEN --body "<your-access-token>" gh secret set SUPABASE_DB_PASSWORD --body "<your-database-password>" gh secret set SUPABASE_PROJECT_REF --body "<your-project-ref>" ``` Generate your access token at [supabase.com/dashboard/account/tokens](https://supabase.com/dashboard/account/tokens). Find your project ref in Project Settings > General. Link the project in any CI job that needs remote access: ```yaml - name: Install Supabase CLI uses: supabase/setup-cli@v1 with: version: latest - name: Link Supabase pr...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category