Skip to content

(#54) Need a local supabase to actually test against the local db #8

(#54) Need a local supabase to actually test against the local db

(#54) Need a local supabase to actually test against the local db #8

Workflow file for this run

name: Database Migrations
on:
workflow_dispatch:
push:
branches:
- main
paths:
- db/**
jobs:
migrate:
name: Migrate
runs-on: ubuntu-latest
env:
DB_USER: ${{ secrets.DB_USER }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
DB_HOST: ${{ secrets.DB_HOST }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm migrate:ci
test:
name: Test
needs: deploy

Check failure on line 30 in .github/workflows/db.yml

View workflow run for this annotation

GitHub Actions / Database Migrations

Invalid workflow file

The workflow is not valid. .github/workflows/db.yml (Line: 30, Col: 12): Job 'test' depends on unknown job 'deploy'.
runs-on: ubuntu-latest
env:
ENV: prod
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm test