From cae6fa621105aa356213114d213674b77eb6c5c4 Mon Sep 17 00:00:00 2001 From: jaipaljadeja Date: Thu, 19 Dec 2024 20:17:00 +0530 Subject: [PATCH] actions: add mongodb service --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3575284..1b331d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,13 @@ jobs: POSTGRES_PASSWORD: postgres ports: - 5432:5432 + mongodb: + image: mongo:7.0 + ports: + - 27017:27017 + options: >- + --replSet rs0 + --bind_ip_all runs-on: ubuntu-latest steps: - name: Checkout