Skip to content

chore: allow soft delete hooks in aggregate #7

chore: allow soft delete hooks in aggregate

chore: allow soft delete hooks in aggregate #7

Workflow file for this run

name: CI - Test Mongoose Plugin
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
services:
mongo:
image: mongo:7
ports:
- 27017:27017
options: >-
--health-cmd "mongosh --eval 'db.runCommand({ ping: 1 })'"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Run tests
env:
MONGO_URL: mongodb://localhost:27017/test
run: npm test