From 15a7aa6986480bf149d1fd5b0c232f0b9ca4c197 Mon Sep 17 00:00:00 2001 From: Tushar Date: Tue, 2 Apr 2024 12:51:24 +0530 Subject: [PATCH] ci(fix): minor --- .github/workflows/dev_test.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dev_test.yml b/.github/workflows/dev_test.yml index 72c7c47..df55891 100644 --- a/.github/workflows/dev_test.yml +++ b/.github/workflows/dev_test.yml @@ -1,4 +1,4 @@ -name: Run Tests, Create .env.test, and Setup Admin Document +name: Run Tests on: push: @@ -28,13 +28,12 @@ jobs: - name: Install dependencies run: npm install - - name: Install MongoDB client + - name: Install MongoDB client (mongosh) run: | - sudo apt-get update wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add - - echo "deb http://repo.mongodb.org/apt/ubuntu $(lsb_release -sc)/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list + echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list sudo apt-get update - sudo apt-get install -y mongodb-org-shell + sudo apt-get install -y mongosh - name: Create .env.test file env: