Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Somnath-Chattaraj authored Jul 29, 2024
1 parent f35407d commit 8fbfbfe
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ jobs:
node-version: '20'
cache: 'npm'

- name: Cache Node modules
uses: actions/cache@v3
with:
path: |
./backend/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('backend/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
working-directory: ./backend
Expand Down

0 comments on commit 8fbfbfe

Please sign in to comment.