@@ -11,14 +11,14 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : checkout
14- uses : actions/checkout@master
14+ uses : actions/checkout@v4
1515
16- - uses : actions/setup-node@v1
16+ - uses : actions/setup-node@v4
1717 with :
18- node-version : ' 12 '
18+ node-version : ' 20 '
1919
2020 - name : cache package-lock.json
21- uses : actions/cache@v2
21+ uses : actions/cache@v4
2222 with :
2323 path : package-temp-dir
2424 key : lock-${{ github.sha }}
3535
3636 - name : cache node_modules
3737 id : node_modules_cache_id
38- uses : actions/cache@v2
38+ uses : actions/cache@v4
3939 with :
4040 path : node_modules
4141 key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -48,16 +48,16 @@ jobs:
4848 runs-on : ubuntu-latest
4949 steps :
5050 - name : checkout
51- uses : actions/checkout@master
51+ uses : actions/checkout@v4
5252
5353 - name : restore cache from package-lock.json
54- uses : actions/cache@v2
54+ uses : actions/cache@v4
5555 with :
5656 path : package-temp-dir
5757 key : lock-${{ github.sha }}
5858
5959 - name : restore cache from node_modules
60- uses : actions/cache@v2
60+ uses : actions/cache@v4
6161 with :
6262 path : node_modules
6363 key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -71,16 +71,16 @@ jobs:
7171 runs-on : ubuntu-latest
7272 steps :
7373 - name : checkout
74- uses : actions/checkout@master
74+ uses : actions/checkout@v4
7575
7676 - name : restore cache from package-lock.json
77- uses : actions/cache@v2
77+ uses : actions/cache@v4
7878 with :
7979 path : package-temp-dir
8080 key : lock-${{ github.sha }}
8181
8282 - name : restore cache from node_modules
83- uses : actions/cache@v2
83+ uses : actions/cache@v4
8484 with :
8585 path : node_modules
8686 key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -94,16 +94,16 @@ jobs:
9494 runs-on : ubuntu-latest
9595 steps :
9696 - name : checkout
97- uses : actions/checkout@master
97+ uses : actions/checkout@v4
9898
9999 - name : restore cache from package-lock.json
100- uses : actions/cache@v2
100+ uses : actions/cache@v4
101101 with :
102102 path : package-temp-dir
103103 key : lock-${{ github.sha }}
104104
105105 - name : restore cache from node_modules
106- uses : actions/cache@v2
106+ uses : actions/cache@v4
107107 with :
108108 path : node_modules
109109 key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
0 commit comments