Skip to content

chore: add reusable dashboard header; implement profile page design #757 #1293

chore: add reusable dashboard header; implement profile page design #757

chore: add reusable dashboard header; implement profile page design #757 #1293

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/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Show Node.js version
run: node --version
- name: Build Server
run: |
yarn install
yarn build
- name: Test Server Build Process
run: yarn test:build
- name: Test Backend
run: yarn jest:backend
- name: Test Frontend
run: yarn jest:frontend
- name: Test API Homepage
run: yarn cypress:ci