Skip to content

[Snyk] Upgrade mongoose from 8.5.3 to 8.7.0 #35

[Snyk] Upgrade mongoose from 8.5.3 to 8.7.0

[Snyk] Upgrade mongoose from 8.5.3 to 8.7.0 #35

Workflow file for this run

name: CI/CD Pipeline Test
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18.x'
- name: Install dependencies
run: |
cd api
npm install
- name: Run unit tests
run: |
cd api
npm run test
env:
ADMIN_EMAIL: ${{ secrets.ADMIN_EMAIL }}
ADMIN_PASSWORD2: ${{ secrets.ADMIN_PASSWORD2 }}
SESSION_SECRET: ${{ secrets.SESSION_SECRET }}
MONGODB_URI: ${{ secrets.MONGODB_URI }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}