Skip to content

Commit

Permalink
build and test ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ApurvaBasule committed Aug 13, 2024
1 parent 9ec3da1 commit 1df884b
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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




0 comments on commit 1df884b

Please sign in to comment.