Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

💄 New Hero Image #2112

💄 New Hero Image

💄 New Hero Image #2112

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Migrations
on:
push:
branches: [main]
pull_request:
branches: [main, stage]
jobs:
migrations_migrator:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend/services/core
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16
- name: Set up test postgres
run: ./setup_test_db.sh
- run: npm run test-migrations