🔧 Fix all failing test cases in Pierre (#yoginth/eng-281) #2772
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: DB Migrate | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, synchronize] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
production: | |
name: Production | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🚪 | |
uses: actions/checkout@v4 | |
- name: Setup Node.js, pnpm, dependencies and run migrations 🌸 | |
uses: ./.github/actions/db-migration | |
with: | |
database_url: ${{ secrets.PRODUCTION_DATABASE_URL }} | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🚪 | |
uses: actions/checkout@v4 | |
- name: Setup Node.js, pnpm, dependencies and run migrations 🌸 | |
uses: ./.github/actions/db-migration | |
with: | |
database_url: ${{ secrets.TEST_DATABASE_URL }} |