1010 uses : actions/checkout@v2
1111
1212 - name : cache package-lock.json
13- uses : actions/cache@v2
13+ uses : actions/cache@v4
1414 with :
1515 path : package-temp-dir
1616 key : lock-${{ github.sha }}
2727
2828 - name : cache node_modules
2929 id : node_modules_cache_id
30- uses : actions/cache@v2
30+ uses : actions/cache@v4
3131 with :
3232 path : node_modules
3333 key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -43,25 +43,25 @@ jobs:
4343 uses : actions/checkout@v2
4444
4545 - name : restore cache from package-lock.json
46- uses : actions/cache@v2
46+ uses : actions/cache@v4
4747 with :
4848 path : package-temp-dir
4949 key : lock-${{ github.sha }}
5050
5151 - name : restore cache from node_modules
52- uses : actions/cache@v2
52+ uses : actions/cache@v4
5353 with :
5454 path : node_modules
5555 key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
5656
5757 - name : cache lib
58- uses : actions/cache@v2
58+ uses : actions/cache@v4
5959 with :
6060 path : lib
6161 key : lib-${{ github.sha }}
6262
6363 - name : cache es
64- uses : actions/cache@v2
64+ uses : actions/cache@v4
6565 with :
6666 path : es
6767 key : es-${{ github.sha }}
@@ -77,13 +77,13 @@ jobs:
7777 uses : actions/checkout@v2
7878
7979 - name : restore cache from package-lock.json
80- uses : actions/cache@v2
80+ uses : actions/cache@v4
8181 with :
8282 path : package-temp-dir
8383 key : lock-${{ github.sha }}
8484
8585 - name : restore cache from node_modules
86- uses : actions/cache@v2
86+ uses : actions/cache@v4
8787 with :
8888 path : node_modules
8989 key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -99,13 +99,13 @@ jobs:
9999 uses : actions/checkout@v2
100100
101101 - name : restore cache from package-lock.json
102- uses : actions/cache@v2
102+ uses : actions/cache@v4
103103 with :
104104 path : package-temp-dir
105105 key : lock-${{ github.sha }}
106106
107107 - name : restore cache from node_modules
108- uses : actions/cache@v2
108+ uses : actions/cache@v4
109109 with :
110110 path : node_modules
111111 key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
0 commit comments