Skip to content

Commit 1adc975

Browse files
authored
upgrade actions/cache workflow to v4 (#852)
1 parent c3ca91c commit 1adc975

10 files changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
node-version: 18
2323

2424
- name: Cache dependencies
25-
uses: actions/cache@v2
25+
uses: actions/cache@v4
2626
with:
2727
path: ~/.npm
2828
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/figma_connect_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
node-version: 20
2020

2121
- name: Cache dependencies
22-
uses: actions/cache@v2
22+
uses: actions/cache@v4
2323
with:
2424
path: ~/.npm
2525
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/integration_test_astro.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
node-version: 18
2828

2929
- name: Caching dependencies
30-
uses: actions/cache@v2
30+
uses: actions/cache@v4
3131
with:
3232
path: ~/.npm
3333
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -39,7 +39,7 @@ jobs:
3939
# workflow successfully finishes.
4040
# See https://github.com/actions/cache
4141
- name: Cache Cypress binary
42-
uses: actions/cache@v1
42+
uses: actions/cache@v4
4343
with:
4444
path: ~/.cache/Cypress
4545
key: cypress-${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }}

.github/workflows/integration_test_cra.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
node-version: 18
2828

2929
- name: Caching dependencies
30-
uses: actions/cache@v2
30+
uses: actions/cache@v4
3131
with:
3232
path: ~/.npm
3333
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -39,7 +39,7 @@ jobs:
3939
# workflow successfully finishes.
4040
# See https://github.com/actions/cache
4141
- name: Cache Cypress binary
42-
uses: actions/cache@v1
42+
uses: actions/cache@v4
4343
with:
4444
path: ~/.cache/Cypress
4545
key: cypress-${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }}

.github/workflows/integration_test_nextjs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
node-version: 18
2828

2929
- name: Caching dependencies
30-
uses: actions/cache@v2
30+
uses: actions/cache@v4
3131
with:
3232
path: ~/.npm
3333
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -39,7 +39,7 @@ jobs:
3939
# workflow successfully finishes.
4040
# See https://github.com/actions/cache
4141
- name: Cache Cypress binary
42-
uses: actions/cache@v1
42+
uses: actions/cache@v4
4343
with:
4444
path: ~/.cache/Cypress
4545
key: cypress-${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }}

.github/workflows/integration_test_remix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
node-version: '20'
2828

2929
- name: Caching dependencies
30-
uses: actions/cache@v2
30+
uses: actions/cache@v4
3131
with:
3232
path: ~/.npm
3333
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/ui_test_accessibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
node-version: 18
2323

2424
- name: Cache dependencies
25-
uses: actions/cache@v2
25+
uses: actions/cache@v4
2626
with:
2727
path: ~/.npm
2828
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/ui_test_primitives_diff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
node-version: 18
2525

2626
- name: Cache dependencies
27-
uses: actions/cache@v2
27+
uses: actions/cache@v4
2828
with:
2929
path: ~/.npm
3030
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/update_visual_snapshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
node-version: 18
3131

3232
- name: Cache dependencies
33-
uses: actions/cache@v2
33+
uses: actions/cache@v4
3434
with:
3535
path: ~/.npm
3636
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/visual_test_storybook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
node-version: 18
2121

2222
- name: Cache dependencies
23-
uses: actions/cache@v2
23+
uses: actions/cache@v4
2424
with:
2525
path: ~/.npm
2626
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

0 commit comments

Comments
 (0)