Skip to content

Fix #779 : Remove the should prefix from all unit tests titles #1350

Fix #779 : Remove the should prefix from all unit tests titles

Fix #779 : Remove the should prefix from all unit tests titles #1350

Workflow file for this run

name: Test Suite
on: pull_request
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
CI: test
NODE_ENV: test
MAIN_KEY: ${{ secrets.MAIN_KEY }}
jobs:
test:
name: Build and Test
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
node-version: [18.x]
mongodb-version: [5.0, 6.0]
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Use Node.js @${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.3.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Install Project Dependencies
run: |
rm -rf ./node_modules; npm install
npm install -g firebase-tools
- name: Build Server
run: |
npm run build
- name: Test Server Build Process
run: npm run test:build
- name: Test Backend
run: npm run jest:backend
- name: Test Frontend
run: npm run jest:frontend