This repository has been archived by the owner on Nov 2, 2024. It is now read-only.
🐛 Fix Denied bookings causing conflict warning #839
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: Run Backend Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main, stage] | |
jobs: | |
test_backend: | |
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 ci | |
- run: npm run test |