Skip to content

Commit

Permalink
fix: fix chaching node modules
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanenkoStud committed Nov 5, 2023
1 parent d6a76b9 commit 22c1b2e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 39 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ jobs:
id: cache-node-modules
uses: actions/cache@v3
with:
path: ./node_modules
path: |
./*/node_modules
./node_modules
key: ${{ runner.os }}-modules-main-${{ hashFiles('./package-lock.json') }}

- name: Install dependencies
Expand Down Expand Up @@ -157,7 +159,9 @@ jobs:
id: cache-node-modules
uses: actions/cache@v3
with:
path: ./node_modules
path: |
./*/node_modules
./node_modules
key: ${{ runner.os }}-modules-test-${{ hashFiles('./package-lock.json') }}

- name: Install dependencies
Expand Down
50 changes: 13 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 22c1b2e

Please sign in to comment.