fix dev-main conflicts #764
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
name: Run Tests | |
on: | |
pull_request: | |
branches: [main, development] | |
env: | |
CI: true | |
USER_POOL_ID: ${{ secrets.USER_POOL_ID }} | |
jobs: | |
frontend_tests: | |
name: Run Frontend Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Install dependencies | |
working-directory: frontend | |
run: npm ci | |
- name: Run All Frontend Unit & Integration tests | |
working-directory: frontend | |
run: npm test | |
nodejs_backend_tests: | |
name: Run Nodejs Backend Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Install dependencies | |
working-directory: nodejs_api | |
run: npm ci | |
- name: Run All Nodejs Backend Unit & Integration tests | |
working-directory: nodejs_api | |
run: npm test |