@@ -44,14 +44,16 @@ jobs:
44
44
id : cache-root-node-mods
45
45
uses : actions/cache@v3
46
46
with :
47
- path : " node_modules"
48
- key : yarn-build-${{ hashFiles('yarn.lock') }}
47
+ path : |
48
+ node_modules
49
+ test/node_modules
50
+ key : yarn-build-${{ hashFiles('yarn.lock', 'test/yarn.lock') }}
49
51
restore-keys : |
50
52
yarn-build-
51
53
52
54
- name : Install dependencies
53
55
if : steps.cache-root-node-mods.outputs.cache-hit != 'true'
54
- run : SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile
56
+ run : yarn --frozen-lockfile
55
57
56
58
- name : Run yarn fmt
57
59
run : yarn fmt
@@ -107,8 +109,10 @@ jobs:
107
109
id : cache-root-node-mods
108
110
uses : actions/cache@v3
109
111
with :
110
- path : " node_modules"
111
- key : yarn-build-${{ hashFiles('yarn.lock') }}
112
+ path : |
113
+ node_modules
114
+ test/node_modules
115
+ key : yarn-build-${{ hashFiles('yarn.lock', 'test/yarn.lock') }}
112
116
restore-keys : |
113
117
yarn-build-
114
118
@@ -278,8 +282,9 @@ jobs:
278
282
- name : Build standalone release
279
283
run : source scl_source enable devtoolset-9 && yarn release:standalone
280
284
285
+ # TODO@jsjoeio - can we use cache here?
281
286
- name : Install test dependencies
282
- run : SKIP_SUBMODULE_DEPS=1 yarn install
287
+ run : SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile
283
288
284
289
- name : Run integration tests on standalone release
285
290
run : yarn test:integration
@@ -414,6 +419,7 @@ jobs:
414
419
- name : Build standalone release
415
420
run : yarn release:standalone
416
421
422
+ # TODO@jsjoeio - can we cache here?
417
423
- name : Install test dependencies
418
424
run : SKIP_SUBMODULE_DEPS=1 yarn install
419
425
@@ -453,8 +459,10 @@ jobs:
453
459
id : cache-root-node-mods
454
460
uses : actions/cache@v3
455
461
with :
456
- path : " node_modules"
457
- key : yarn-build-${{ hashFiles('yarn.lock') }}
462
+ path : |
463
+ node_modules
464
+ test/node_modules
465
+ key : yarn-build-${{ hashFiles('yarn.lock', 'test/yarn.lock') }}
458
466
restore-keys : |
459
467
yarn-build-
460
468
@@ -516,8 +524,10 @@ jobs:
516
524
id : cache-root-node-mods
517
525
uses : actions/cache@v3
518
526
with :
519
- path : " node_modules"
520
- key : yarn-build-${{ hashFiles('yarn.lock') }}
527
+ path : |
528
+ node_modules
529
+ test/node_modules
530
+ key : yarn-build-${{ hashFiles('yarn.lock', 'test/yarn.lock') }}
521
531
restore-keys : |
522
532
yarn-build-
523
533
0 commit comments