chore: add reusable dashboard header; implement profile page design #757 #1272
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: 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: [4.0, 4.2] | |
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: Build Server | |
run: | | |
yarn install | |
yarn build | |
- name: Test Server Build Process | |
run: yarn test:build | |
- name: Test API | |
run: yarn jest | |
- name: Test API Homepage | |
run: yarn cypress:ci |