Skip to content

fix: 新規登録後にエラーになる問題を修正 #51

fix: 新規登録後にエラーになる問題を修正

fix: 新規登録後にエラーになる問題を修正 #51

Workflow file for this run

name: Check
on:
push:
branches:
- main
permissions:
contents: read
jobs:
migration:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Setup | Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Setup | Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: pnpm
- name: Setup | Install Dependencies
run: pnpm install --frozen-lockfile
- name: Run | Migrate
run: |
pnpm exec supabase link --project-ref ${SUPABASE_PROJECT_ID}
pnpm exec supabase db push
env:
SUPABASE_PROJECT_ID: ${{ secrets.SUPABASE_PROJECT_ID }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}