Merge pull request #409 from Sreejit-K/metrics_Integration_For_ticker… #43
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: Test donor service | |
on: | |
push: | |
branches: [ main, demo-donor ] | |
paths: | |
- backend/donor-service/** | |
pull_request: | |
branches: [ main, demo-donor ] | |
paths: | |
- backend/donor-service/** | |
jobs: | |
donor_service_test: | |
name: Test donor service | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Install dependencies | |
run: npm install | |
working-directory: backend/donor-service | |
- name: Run tests | |
run: npm run test | |
working-directory: backend/donor-service |