Skip to content

Commit 03a6bed

Browse files
committed
removing "cache node.js" part
too time consuming compared to doing npm ci on both frontend and backend
1 parent 914a1ac commit 03a6bed

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.github/workflows/ci-cd-pipeline.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,6 @@ jobs:
3030
# echo "DB_CONN_STRING=${{ secrets.DB_CONN_STRING }}" >> .env
3131
# echo "DB_NAME=chatHavenDB" >> .env
3232
# echo "PORT=3000" >> .env
33-
34-
# Prevents installing dependencies if package-lock.json hasn't changed
35-
- name: Cache Node.js dependencies
36-
uses: actions/cache@v2
37-
with:
38-
path: |
39-
~/.npm
40-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
41-
restore-keys: |
42-
${{ runner.os }}-node-
4333

4434
# Install backend dependencies
4535
- name: Install backend dependencies

0 commit comments

Comments
 (0)