From ec3181c9fe40f1c5747e76ae7f5049ad50c5d29f Mon Sep 17 00:00:00 2001 From: Ianyourgod Date: Fri, 23 Feb 2024 10:45:58 -0600 Subject: [PATCH] forgor to give it mongodb --- .github/workflows/runtests.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/runtests.yaml b/.github/workflows/runtests.yaml index a4ba93a..5fe3401 100644 --- a/.github/workflows/runtests.yaml +++ b/.github/workflows/runtests.yaml @@ -17,14 +17,22 @@ jobs: strategy: matrix: node-version: [ 20.x ] + mongodb-version: ['7.0'] steps: - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'npm' + + - name: Start MongoDB + uses: supercharge/mongodb-github-action@1.10.0 + with: + mongodb-version: ${{ matrix.mongodb-version }} + - run: npm ci - run: npm run build --if-present - run: node ./api/db/UMTests.js \ No newline at end of file