Skip to content

Added match stage before facet to improve performance #5

Added match stage before facet to improve performance

Added match stage before facet to improve performance #5

Workflow file for this run

name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 'lts/*' ]
mongodb-version: [latest]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.11.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test