@@ -15,10 +15,10 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- name : Checkout code
18
- uses : actions/checkout@v2
18
+ uses : actions/checkout@v4
19
19
20
20
- name : Cache yarn.lock
21
- uses : actions/cache@v2
21
+ uses : actions/cache@v4
22
22
with :
23
23
path : package-temp-dir
24
24
key : lock-${{ github.sha }}
34
34
cp yarn.lock package-temp-dir
35
35
- name : Cache node_modules
36
36
id : node_modules_cache_id
37
- uses : actions/cache@v2
37
+ uses : actions/cache@v4
38
38
with :
39
39
path : node_modules
40
40
key : node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
@@ -50,13 +50,13 @@ jobs:
50
50
- uses : actions/checkout@v2
51
51
52
52
- name : Restore cache from yarn.lock
53
- uses : actions/cache@v2
53
+ uses : actions/cache@v4
54
54
with :
55
55
path : package-temp-dir
56
56
key : lock-${{ github.sha }}
57
57
58
58
- name : Restore cache from node_modules
59
- uses : actions/cache@v2
59
+ uses : actions/cache@v4
60
60
with :
61
61
path : node_modules
62
62
key : node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
@@ -71,13 +71,13 @@ jobs:
71
71
- uses : actions/checkout@v2
72
72
73
73
- name : Restore cache from yarn.lock
74
- uses : actions/cache@v2
74
+ uses : actions/cache@v4
75
75
with :
76
76
path : package-temp-dir
77
77
key : lock-${{ github.sha }}
78
78
79
79
- name : Restore cache from node_modules
80
- uses : actions/cache@v2
80
+ uses : actions/cache@v4
81
81
with :
82
82
path : node_modules
83
83
key : node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
@@ -92,13 +92,13 @@ jobs:
92
92
- uses : actions/checkout@v2
93
93
94
94
- name : Restore cache from yarn.lock
95
- uses : actions/cache@v2
95
+ uses : actions/cache@v4
96
96
with :
97
97
path : package-temp-dir
98
98
key : lock-${{ github.sha }}
99
99
100
100
- name : Restore cache from node_modules
101
- uses : actions/cache@v2
101
+ uses : actions/cache@v4
102
102
with :
103
103
path : node_modules
104
104
key : node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
@@ -118,13 +118,13 @@ jobs:
118
118
- uses : actions/checkout@v2
119
119
120
120
- name : Restore cache from yarn.lock
121
- uses : actions/cache@v2
121
+ uses : actions/cache@v4
122
122
with :
123
123
path : package-temp-dir
124
124
key : lock-${{ github.sha }}
125
125
126
126
- name : Restore cache from node_modules
127
- uses : actions/cache@v2
127
+ uses : actions/cache@v4
128
128
with :
129
129
path : node_modules
130
130
key : node_modules-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
0 commit comments