Skip to content

test(server): Wait for user indexes before duplicate assertions #173

test(server): Wait for user indexes before duplicate assertions

test(server): Wait for user indexes before duplicate assertions #173

Workflow file for this run

name: test
# Controls when the action will run.
on:
# Triggers the workflow on push events.
push:
# Allows you to run this workflow manually from the Actions tab.
workflow_dispatch:
jobs:
backend-unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
working-directory: ./server
- run: npm test
working-directory: ./server
client-unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
working-directory: ./client
- run: CI=true npm test -- --watchAll=false
working-directory: ./client
- run: CI=true npm run build
working-directory: ./client