This repository has been archived by the owner on Nov 2, 2024. It is now read-only.
✨ Webshop Information #2135
Workflow file for this run
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
# 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 |