Fe dark mode #146
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: "integration-tests" | |
on: | |
pull_request: | |
workflow_call: | |
jobs: | |
integration-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./backend | |
steps: | |
- name: Get the code | |
uses: actions/checkout@v4 | |
- name: Install NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Make envfile | |
run: cp .env.example .env | |
- name: Install deps | |
run: npm ci | |
- name: Start test DB | |
run: npm run testDB:wait | |
- name: Run tests | |
run: npm test |