10
10
uses : actions/checkout@v2
11
11
12
12
- name : cache package-lock.json
13
- uses : actions/cache@v2
13
+ uses : actions/cache@v4
14
14
with :
15
15
path : package-temp-dir
16
16
key : lock-${{ github.sha }}
27
27
28
28
- name : cache node_modules
29
29
id : node_modules_cache_id
30
- uses : actions/cache@v2
30
+ uses : actions/cache@v4
31
31
with :
32
32
path : node_modules
33
33
key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -43,25 +43,25 @@ jobs:
43
43
uses : actions/checkout@v2
44
44
45
45
- name : restore cache from package-lock.json
46
- uses : actions/cache@v2
46
+ uses : actions/cache@v4
47
47
with :
48
48
path : package-temp-dir
49
49
key : lock-${{ github.sha }}
50
50
51
51
- name : restore cache from node_modules
52
- uses : actions/cache@v2
52
+ uses : actions/cache@v4
53
53
with :
54
54
path : node_modules
55
55
key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
56
56
57
57
- name : cache lib
58
- uses : actions/cache@v2
58
+ uses : actions/cache@v4
59
59
with :
60
60
path : lib
61
61
key : lib-${{ github.sha }}
62
62
63
63
- name : cache es
64
- uses : actions/cache@v2
64
+ uses : actions/cache@v4
65
65
with :
66
66
path : es
67
67
key : es-${{ github.sha }}
@@ -77,13 +77,13 @@ jobs:
77
77
uses : actions/checkout@v2
78
78
79
79
- name : restore cache from package-lock.json
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-temp-dir/package-lock.json') }}
@@ -99,13 +99,13 @@ jobs:
99
99
uses : actions/checkout@v2
100
100
101
101
- name : restore cache from package-lock.json
102
- uses : actions/cache@v2
102
+ uses : actions/cache@v4
103
103
with :
104
104
path : package-temp-dir
105
105
key : lock-${{ github.sha }}
106
106
107
107
- name : restore cache from node_modules
108
- uses : actions/cache@v2
108
+ uses : actions/cache@v4
109
109
with :
110
110
path : node_modules
111
111
key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
0 commit comments