Skip to content

Commit 019b279

Browse files
ci: update 'cache' action (#2596)
1 parent 4f35752 commit 019b279

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: actions/setup-node@v1
1313

1414
- name: Cache Node.js modules
15-
uses: actions/cache@v1
15+
uses: actions/cache@v2
1616
with:
1717
path: ~/.npm
1818
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -32,7 +32,7 @@ jobs:
3232
run: npm run check
3333

3434
- name: Cache TS versions
35-
uses: actions/cache@v1
35+
uses: actions/cache@v2
3636
with:
3737
path: ~/.dts
3838
key: ${{ runner.OS }}-dts-${{ hashFiles('**/package-lock.json') }}
@@ -59,7 +59,7 @@ jobs:
5959
uses: actions/setup-node@v1
6060

6161
- name: Cache Node.js modules
62-
uses: actions/cache@v1
62+
uses: actions/cache@v2
6363
with:
6464
path: ~/.npm
6565
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -83,7 +83,7 @@ jobs:
8383
uses: actions/setup-node@v1
8484

8585
- name: Cache Node.js modules
86-
uses: actions/cache@v1
86+
uses: actions/cache@v2
8787
with:
8888
path: ~/.npm
8989
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -118,7 +118,7 @@ jobs:
118118
node-version: ${{ matrix.node_version }}
119119

120120
- name: Cache Node.js modules
121-
uses: actions/cache@v1
121+
uses: actions/cache@v2
122122
with:
123123
path: ~/.npm
124124
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -144,7 +144,7 @@ jobs:
144144
uses: actions/setup-node@v1
145145

146146
- name: Cache Node.js modules
147-
uses: actions/cache@v1
147+
uses: actions/cache@v2
148148
with:
149149
path: ~/.npm
150150
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -173,7 +173,7 @@ jobs:
173173
uses: actions/setup-node@v1
174174

175175
- name: Cache Node.js modules
176-
uses: actions/cache@v1
176+
uses: actions/cache@v2
177177
with:
178178
path: ~/.npm
179179
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}

0 commit comments

Comments
 (0)