1818 node-version : ' 12'
1919
2020 - name : cache package-lock.json
21- uses : actions/cache@v1
21+ uses : actions/cache@v2
2222 with :
2323 path : package-temp-dir
2424 key : lock-${{ github.sha }}
3434 cp package-lock.json package-temp-dir
3535 - name : cache node_modules
3636 id : node_modules_cache_id
37- uses : actions/cache@v1
37+ uses : actions/cache@v2
3838 with :
3939 path : node_modules
4040 key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -50,13 +50,13 @@ jobs:
5050 uses : actions/checkout@master
5151
5252 - name : restore cache from package-lock.json
53- uses : actions/cache@v1
53+ uses : actions/cache@v2
5454 with :
5555 path : package-temp-dir
5656 key : lock-${{ github.sha }}
5757
5858 - name : restore cache from node_modules
59- uses : actions/cache@v1
59+ uses : actions/cache@v2
6060 with :
6161 path : node_modules
6262 key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -73,13 +73,13 @@ jobs:
7373 uses : actions/checkout@master
7474
7575 - name : restore cache from package-lock.json
76- uses : actions/cache@v1
76+ uses : actions/cache@v2
7777 with :
7878 path : package-temp-dir
7979 key : lock-${{ github.sha }}
8080
8181 - name : restore cache from node_modules
82- uses : actions/cache@v1
82+ uses : actions/cache@v2
8383 with :
8484 path : node_modules
8585 key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -96,13 +96,13 @@ jobs:
9696 uses : actions/checkout@master
9797
9898 - name : restore cache from package-lock.json
99- uses : actions/cache@v1
99+ uses : actions/cache@v2
100100 with :
101101 path : package-temp-dir
102102 key : lock-${{ github.sha }}
103103
104104 - name : restore cache from node_modules
105- uses : actions/cache@v1
105+ uses : actions/cache@v2
106106 with :
107107 path : node_modules
108108 key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
0 commit comments