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 : Setup node
21
21
uses : actions/setup-node@v3
24
24
cache : yarn
25
25
26
26
- name : Cache yarn.lock
27
- uses : actions/cache@v2
27
+ uses : actions/cache@v4
28
28
with :
29
29
path : package-temp-dir
30
30
key : lock-${{ github.sha }}
40
40
cp yarn.lock package-temp-dir
41
41
- name : Cache node_modules
42
42
id : node_modules_cache_id
43
- uses : actions/cache@v2
43
+ uses : actions/cache@v4
44
44
with :
45
45
path : node_modules
46
46
key : node_modules-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
@@ -53,16 +53,16 @@ jobs:
53
53
needs : [setup]
54
54
runs-on : ubuntu-latest
55
55
steps :
56
- - uses : actions/checkout@v2
56
+ - uses : actions/checkout@v4
57
57
58
58
- name : Restore cache from yarn.lock
59
- uses : actions/cache@v2
59
+ uses : actions/cache@v4
60
60
with :
61
61
path : package-temp-dir
62
62
key : lock-${{ github.sha }}
63
63
64
64
- name : Restore cache from node_modules
65
- uses : actions/cache@v2
65
+ uses : actions/cache@v4
66
66
with :
67
67
path : node_modules
68
68
key : node_modules-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
@@ -74,16 +74,16 @@ jobs:
74
74
needs : [setup]
75
75
runs-on : ubuntu-latest
76
76
steps :
77
- - uses : actions/checkout@v2
77
+ - uses : actions/checkout@v4
78
78
79
79
- name : Restore cache from yarn.lock
80
- uses : actions/cache@v2
80
+ uses : actions/cache@v4
81
81
with :
82
82
path : package-temp-dir
83
83
key : lock-${{ github.sha }}
84
84
85
85
- name : Restore cache from node_modules
86
- uses : actions/cache@v2
86
+ uses : actions/cache@v4
87
87
with :
88
88
path : node_modules
89
89
key : node_modules-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
@@ -95,16 +95,16 @@ jobs:
95
95
needs : [setup]
96
96
runs-on : ubuntu-latest
97
97
steps :
98
- - uses : actions/checkout@v2
98
+ - uses : actions/checkout@v4
99
99
100
100
- name : Restore cache from yarn.lock
101
- uses : actions/cache@v2
101
+ uses : actions/cache@v4
102
102
with :
103
103
path : package-temp-dir
104
104
key : lock-${{ github.sha }}
105
105
106
106
- name : Restore cache from node_modules
107
- uses : actions/cache@v2
107
+ uses : actions/cache@v4
108
108
with :
109
109
path : node_modules
110
110
key : node_modules-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
@@ -116,16 +116,16 @@ jobs:
116
116
needs : [setup]
117
117
runs-on : ubuntu-latest
118
118
steps :
119
- - uses : actions/checkout@v2
119
+ - uses : actions/checkout@v4
120
120
121
121
- name : Restore cache from yarn.lock
122
- uses : actions/cache@v2
122
+ uses : actions/cache@v4
123
123
with :
124
124
path : package-temp-dir
125
125
key : lock-${{ github.sha }}
126
126
127
127
- name : Restore cache from node_modules
128
- uses : actions/cache@v2
128
+ uses : actions/cache@v4
129
129
with :
130
130
path : node_modules
131
131
key : node_modules-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
@@ -137,16 +137,16 @@ jobs:
137
137
runs-on : ubuntu-latest
138
138
needs : [setup]
139
139
steps :
140
- - uses : actions/checkout@v2
140
+ - uses : actions/checkout@v4
141
141
142
142
- name : Restore cache from yarn.lock
143
- uses : actions/cache@v2
143
+ uses : actions/cache@v4
144
144
with :
145
145
path : package-temp-dir
146
146
key : lock-${{ github.sha }}
147
147
148
148
- name : Restore cache from node_modules
149
- uses : actions/cache@v2
149
+ uses : actions/cache@v4
150
150
with :
151
151
path : node_modules
152
152
key : node_modules-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-temp-dir/yarn.lock') }}
0 commit comments