Skip to content

Commit

Permalink
Update cicd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank-0407 authored Jun 13, 2024
1 parent 60a7d8d commit 4bb0ee3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,30 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: subdir/package-lock.json
cache-dependency-path: Backend/package-lock.json

# Backend
- name: Install dependencies for backend
working-directory: ./Backend
run: npm i

- name: Build backend
working-directory: ./backend
working-directory: ./Backend
run: npm run build --if-present

- name: Run backend
working-directory: ./backend
working-directory: ./Backend
run: npm run dev

# Frontend
- name: Install dependencies for frontend
working-directory: ./frontend
working-directory: ./Frontend
run: npm i

- name: Build frontend
working-directory: ./frontend
working-directory: ./Frontend
run: npm run build --if-present

- name: Run frontend
working-directory: ./frontend
working-directory: ./Frontend
run: npm run dev

0 comments on commit 4bb0ee3

Please sign in to comment.