Skip to content

Merge pull request #18 from AikidoSec/dev #47

Merge pull request #18 from AikidoSec/dev

Merge pull request #18 from AikidoSec/dev #47

Workflow file for this run

name: Benchmark
on: push
jobs:
build:
runs-on: ubuntu-latest
services:
mongodb:
image: mongo:5
env:
"MONGO_INITDB_ROOT_USERNAME": "root"
"MONGO_INITDB_ROOT_PASSWORD": "password"
ports:
- 27017:27017
timeout-minutes: 5
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: make install
- run: make build
- name: Run Benchmark
id: benchmark
run: cd benchmarks/mongodb && node benchmark.js