Skip to content

Commit

Permalink
Adding cache
Browse files Browse the repository at this point in the history
  • Loading branch information
bsommardahl committed Dec 12, 2024
1 parent ea7b9af commit 3fbd6be
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
with:
node-version: 16.x

- name: Cache Node Modules
uses: actions/cache@v4
with:
path: frontend/node_modules
key: fe-node-${{ hashFiles('frontend/package-lock.json') }}

- name: Install deps
run: cd frontend && npm i

Expand Down Expand Up @@ -56,6 +62,12 @@ jobs:
with:
node-version: 16.x

- name: Cache Node Modules
uses: actions/cache@v4
with:
path: frontend/node_modules
kßey: fe-node-${{ hashFiles('frontend/package-lock.json') }}

- name: Install deps
run: cd frontend && npm i

Expand Down

0 comments on commit 3fbd6be

Please # to comment.