Skip to content

Setup backend

Setup backend #3

name: Integration Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Run Integration Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm install
working-directory: ./backend
- name: Run Integration Tests
env:
MONGODB_URI: ${{ secrets.MONGODB_URI }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
run: npm run test:integration
working-directory: ./backend