File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 18
18
node-version : ' 12'
19
19
20
20
- name : cache package-lock.json
21
- uses : actions/cache@v1
21
+ uses : actions/cache@v2
22
22
with :
23
23
path : package-temp-dir
24
24
key : lock-${{ github.sha }}
35
35
36
36
- name : cache node_modules
37
37
id : node_modules_cache_id
38
- uses : actions/cache@v1
38
+ uses : actions/cache@v2
39
39
with :
40
40
path : node_modules
41
41
key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -51,13 +51,13 @@ jobs:
51
51
uses : actions/checkout@master
52
52
53
53
- name : restore cache from package-lock.json
54
- uses : actions/cache@v1
54
+ uses : actions/cache@v2
55
55
with :
56
56
path : package-temp-dir
57
57
key : lock-${{ github.sha }}
58
58
59
59
- name : restore cache from node_modules
60
- uses : actions/cache@v1
60
+ uses : actions/cache@v2
61
61
with :
62
62
path : node_modules
63
63
key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -74,13 +74,13 @@ jobs:
74
74
uses : actions/checkout@master
75
75
76
76
- name : restore cache from package-lock.json
77
- uses : actions/cache@v1
77
+ uses : actions/cache@v2
78
78
with :
79
79
path : package-temp-dir
80
80
key : lock-${{ github.sha }}
81
81
82
82
- name : restore cache from node_modules
83
- uses : actions/cache@v1
83
+ uses : actions/cache@v2
84
84
with :
85
85
path : node_modules
86
86
key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -97,13 +97,13 @@ jobs:
97
97
uses : actions/checkout@master
98
98
99
99
- name : restore cache from package-lock.json
100
- uses : actions/cache@v1
100
+ uses : actions/cache@v2
101
101
with :
102
102
path : package-temp-dir
103
103
key : lock-${{ github.sha }}
104
104
105
105
- name : restore cache from node_modules
106
- uses : actions/cache@v1
106
+ uses : actions/cache@v2
107
107
with :
108
108
path : node_modules
109
109
key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
You can’t perform that action at this time.
0 commit comments