From 1df884bded13554e81a6a4b765cb258c3ac03ac6 Mon Sep 17 00:00:00 2001 From: ApurvaBasule <97452527+ApurvaBasule@users.noreply.github.com> Date: Tue, 13 Aug 2024 15:59:19 +0530 Subject: [PATCH] build and test ci pipeline --- .github/workflows/node.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index a244fa5f..7d4a2c7d 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -29,25 +29,17 @@ jobs: with: mongodb-version: ${{ matrix.mongodb-version }} - - name: Clean and Install server dependencies - run: | - rm -rf server/node_modules - npm install --prefix server - - name: Install client dependencies - run: npm install --prefix client + - name: Install dependencies + run: npm install - name: Build client run: npm run build --prefix client - - - name: Set Jest permissions - run: chmod +x server/node_modules/.bin/jest - - name: Run Server Tests - run: npm test --prefix server + - name: Run Tests + run: npm test - - name: Run Client Tests - run: npm test --prefix client +