@@ -2,9 +2,6 @@ name: Node
22
33on : [push]
44
5- env :
6- CACHE_KEY : build-${{ GITHUB_SHA }}
7-
85jobs :
96 build :
107 runs-on : ubuntu-latest
2825 node_modules
2926 build
3027 types
31- key : ${{ CACHE_KEY }}
28+ key : ${{ runner.os }}-${{ GITHUB_SHA }}
3229
3330 - name : install deps
3431 run : yarn
6663 node_modules
6764 build
6865 types
69- key : ${{ CACHE_KEY }}
66+ key : ${{ runner.os }}-${{ GITHUB_SHA }}
7067
7168 - name : test
7269 run : yarn test test/$DIR/**/*.ts
9895 node_modules
9996 build
10097 types
101- key : ${{ CACHE_KEY }}
98+ key : ${{ runner.os }}-${{ GITHUB_SHA }}
10299
103100 - name : test
104101 run : yarn test test/$DIR/**/*.ts
@@ -130,7 +127,7 @@ jobs:
130127 node_modules
131128 build
132129 types
133- key : ${{ CACHE_KEY }}
130+ key : ${{ runner.os }}-${{ GITHUB_SHA }}
134131
135132 - name : test
136133 run : yarn test test/$DIR/**/*.ts
@@ -162,7 +159,7 @@ jobs:
162159 node_modules
163160 build
164161 types
165- key : ${{ CACHE_KEY }}
162+ key : ${{ runner.os }}-${{ GITHUB_SHA }}
166163
167164 - name : test
168165 run : yarn test test/$DIR/**/*.ts
@@ -194,7 +191,7 @@ jobs:
194191 node_modules
195192 build
196193 types
197- key : ${{ CACHE_KEY }}
194+ key : ${{ runner.os }}-${{ GITHUB_SHA }}
198195
199196 - name : test
200197 run : yarn test test/$DIR/**/*.ts
@@ -226,7 +223,7 @@ jobs:
226223 node_modules
227224 build
228225 types
229- key : ${{ CACHE_KEY }}
226+ key : ${{ runner.os }}-${{ GITHUB_SHA }}
230227
231228 - name : test
232229 run : yarn test test/$DIR/**/*.ts
@@ -258,7 +255,7 @@ jobs:
258255 node_modules
259256 build
260257 types
261- key : ${{ CACHE_KEY }}
258+ key : ${{ runner.os }}-${{ GITHUB_SHA }}
262259
263260 - name : test
264261 run : yarn test test/$DIR/**/*.ts
@@ -290,7 +287,7 @@ jobs:
290287 node_modules
291288 build
292289 types
293- key : ${{ CACHE_KEY }}
290+ key : ${{ runner.os }}-${{ GITHUB_SHA }}
294291
295292 - name : test
296293 run : yarn test test/$DIR/**/*.ts
@@ -322,7 +319,7 @@ jobs:
322319 node_modules
323320 build
324321 types
325- key : ${{ CACHE_KEY }}
322+ key : ${{ runner.os }}-${{ GITHUB_SHA }}
326323
327324 - name : test
328325 run : yarn test test/$DIR/**/*.ts
@@ -354,7 +351,7 @@ jobs:
354351 node_modules
355352 build
356353 types
357- key : ${{ CACHE_KEY }}
354+ key : ${{ runner.os }}-${{ GITHUB_SHA }}
358355
359356 - name : test
360357 run : yarn test test/$DIR/**/*.ts
0 commit comments