From fd767d923635dcd0faaeb39285247b516890780a Mon Sep 17 00:00:00 2001 From: Mehrshad Date: Tue, 14 May 2024 19:59:55 +0330 Subject: [PATCH] CI: fix Mongodb connectivity issue Mongoose couldn't resolve localhost for some reason. The CI problem was fixed after I used 127.0.0.1 instead of localhost. --- .github/workflows/integrate.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 8e16d6e4..77659df8 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -64,7 +64,7 @@ jobs: env: DB_USER: '' DB_PASS: '' - DB_HOST: 'localhost' + DB_HOST: '127.0.0.1' DB_PORT: '27017' DB_NAME: 'lnp2pbot' run: npm test