Skip to content

Commit

Permalink
update cache action in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jgadsden committed Oct 21, 2024
1 parent c887c27 commit 3fb3224
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/browserstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
install: true

- name: Cache Docker layers
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ hashFiles('Dockerfile') }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
install: true

- name: Cache Docker layers
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ hashFiles('Dockerfile') }}
Expand Down Expand Up @@ -274,7 +274,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -325,7 +325,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -377,7 +377,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -475,7 +475,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -515,7 +515,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -557,7 +557,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -604,7 +604,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -305,7 +305,7 @@ jobs:
node-version: '20.14.0'

- name: Cache NPM dir
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -363,7 +363,7 @@ jobs:
install: true

- name: Cache Docker layers
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ hashFiles('Dockerfile') }}
Expand Down

0 comments on commit 3fb3224

Please sign in to comment.