From 8cfccbbea3070892e7716790aa19879515421efb Mon Sep 17 00:00:00 2001
From: notbaopham <113058628+notbaopham@users.noreply.github.com>
Date: Mon, 8 Apr 2024 13:23:55 -0700
Subject: [PATCH] Moved the MongoDB .env information down to the run test:jest

...
---
 .github/workflows/node.js.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml
index 11191e5..5e2a209 100644
--- a/.github/workflows/node.js.yml
+++ b/.github/workflows/node.js.yml
@@ -7,11 +7,6 @@ on:
   push:
     branches: main
 
-env:
-  MONGODB_USERNAME: baopham
-  MONGODB_PASSWORD: Yjs12l26LZegm0VH
-  MONGODO_URI: mongodb+srv://baopham:Yjs12l26LZegm0VH@accord-systems.umbugbv.mongodb.net/?retryWrites=true&w=majority&appName=Accord-Systems
-
 defaults:
   run:
     working-directory: ./Application
@@ -27,3 +22,7 @@ jobs:
     - run: npm install -g npm
     - run: npm install --save-dev jest
     - run: npm run test:jest
+      env:
+        MONGODB_USERNAME: baopham
+        MONGODB_PASSWORD: Yjs12l26LZegm0VH
+        MONGODO_URI: mongodb+srv://baopham:Yjs12l26LZegm0VH@accord-systems.umbugbv.mongodb.net/?retryWrites=true&w=majority&appName=Accord-Systems