Merge pull request #12 from FYP-2024-IQMA/feature/SCRUM-44-Update-Dat… #13
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: Run Backend CI | |
on: | |
push: | |
branches: | |
- develop | |
paths: | |
- "backend/**" | |
pull_request: | |
branches: | |
- develop | |
paths: | |
- "backend/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository in Virtual Machine | |
uses: actions/checkout@v2 | |
- name: Install Dependecies | |
working-directory: backend | |
run: | | |
npm install | |
- name: Run Tests | |
working-directory: backend | |
run: | | |
npm test |