Skip to content

Commit

Permalink
chore(deps): update actions/cache action to v3 (#34645)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <bot@renovateapp.com>
  • Loading branch information
renovate[bot] and renovate-bot committed Mar 22, 2022
1 parent 7c18292 commit 7f0aa81
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 48 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/preview-build.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v3

- name: cache package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}
Expand All @@ -32,7 +32,7 @@ jobs:
cp package-lock.json package-temp-dir
- name: cache node_modules
id: node_modules_cache_id
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand All @@ -50,13 +50,13 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/site-deploy.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v3

- name: cache package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}
Expand All @@ -29,7 +29,7 @@ jobs:
cp package-lock.json package-temp-dir
- name: cache node_modules
id: node_modules_cache_id
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand All @@ -46,13 +46,13 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand Down
76 changes: 38 additions & 38 deletions .github/workflows/test.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v3

- name: cache package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}
Expand All @@ -28,7 +28,7 @@ jobs:
cp package-lock.json package-temp-dir
- name: cache node_modules
id: node_modules_cache_id
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand All @@ -44,25 +44,25 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: cache lib
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: lib
key: lib-${{ github.sha }}

- name: cache es
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: es
key: es-${{ github.sha }}
Expand All @@ -81,13 +81,13 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand All @@ -103,13 +103,13 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand All @@ -125,13 +125,13 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand All @@ -148,13 +148,13 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand All @@ -174,13 +174,13 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand All @@ -197,19 +197,19 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: restore cache from lib
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: lib
key: lib-${{ github.sha }}
Expand All @@ -228,19 +228,19 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: restore cache from es
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: es
key: es-${{ github.sha }}
Expand All @@ -259,13 +259,13 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand Down Expand Up @@ -299,13 +299,13 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand All @@ -327,13 +327,13 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand All @@ -355,19 +355,19 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: restore cache from lib
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: lib
key: lib-${{ github.sha }}
Expand All @@ -391,19 +391,19 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: restore cache from es
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: es
key: es-${{ github.sha }}
Expand All @@ -427,13 +427,13 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand Down Expand Up @@ -463,13 +463,13 @@ jobs:
uses: actions/checkout@v3

- name: restore cache from package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ui.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v3

- name: cache package-lock.json
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: package-temp-dir
key: lock-${{ github.sha }}
Expand All @@ -31,7 +31,7 @@ jobs:
cp package-lock.json package-temp-dir
- name: cache node_modules
id: node_modules_cache_id
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
Expand Down

0 comments on commit 7f0aa81

Please sign in to comment.