Skip to content

Add email verification OTP flow and update test suite #42

Add email verification OTP flow and update test suite

Add email verification OTP flow and update test suite #42

Workflow file for this run

name: Backend Tests
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: backend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Run tests
env:
NODE_ENV: test
run: npm test