Skip to content

feat(client): blog feature #756

feat(client): blog feature

feat(client): blog feature #756

Workflow file for this run

---
name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: read
env:
SUPABASE_PROJECT_ID: ${{ secrets.SUPABASE_PROJECT_ID }}
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_PASSWORD }}
FORCE_COLOR: 1
jobs:
ci:
runs-on: self-hosted
timeout-minutes: 5
steps:
- name: 📦 Checkout Repository
uses: actions/checkout@v4
- name: 🛠️ Setup Biome
uses: biomejs/setup-biome@v2
- name: 🚀 Run Biome
run: biome ci
- if: github.ref == 'refs/heads/main'
name: 🚀 Setup Supabase CLI
uses: supabase/setup-cli@v1
with:
version: latest
- if: github.ref == 'refs/heads/main'
name: 🚀 Deploy migrations
continue-on-error: true
run: |
supabase link --project-ref ${{ env.SUPABASE_PROJECT_ID }}
supabase db push --include-all -p ${{ env.SUPABASE_DB_PASSWORD }}