34
34
key : ${{ runner.os }}-${{ hashFiles('yarn.lock', 'meteor/yarn.lock', 'meteor/.meteor/release', 'packages/yarn.lock') }}
35
35
- name : Prepare Environment
36
36
run : |
37
+ corepack enable
38
+
37
39
yarn config set cacheFolder /home/runner/lint-core-cache
38
40
yarn
39
41
yarn build:packages
73
75
key : ${{ runner.os }}-${{ hashFiles('yarn.lock', 'meteor/yarn.lock', 'meteor/.meteor/release', 'packages/yarn.lock') }}
74
76
- name : Prepare Environment
75
77
run : |
78
+ corepack enable
79
+
76
80
yarn config set cacheFolder /home/runner/test-core-cache
77
81
yarn
78
82
yarn build:packages
@@ -174,6 +178,8 @@ jobs:
174
178
- name : Prepare Environment
175
179
if : steps.check-build-and-push.outputs.enable == 'true'
176
180
run : |
181
+ corepack enable
182
+
177
183
yarn install
178
184
- name : Build libs
179
185
if : steps.check-build-and-push.outputs.enable == 'true'
@@ -348,6 +354,8 @@ jobs:
348
354
- name : Build
349
355
if : steps.check-build-and-push.outputs.enable == 'true'
350
356
run : |
357
+ corepack enable
358
+
351
359
cd packages
352
360
yarn install
353
361
yarn lerna run --scope \*\*/${{ matrix.gateway-name }} --include-dependencies --stream build
@@ -455,6 +463,8 @@ jobs:
455
463
key : ${{ runner.os }}-${{ hashFiles('packages/yarn.lock') }}
456
464
- name : Prepare Environment
457
465
run : |
466
+ corepack enable
467
+
458
468
cd packages
459
469
yarn config set cacheFolder /home/runner/${{ matrix.package-name }}-cache
460
470
yarn install
@@ -521,6 +531,8 @@ jobs:
521
531
key : ${{ runner.os }}-${{ hashFiles('packages/yarn.lock') }}
522
532
- name : Prepare Environment
523
533
run : |
534
+ corepack enable
535
+
524
536
cd packages
525
537
yarn config set cacheFolder /home/runner/test-packages-cache
526
538
yarn install
@@ -553,6 +565,8 @@ jobs:
553
565
node-version-file : " .node-version"
554
566
- name : Prepare Environment
555
567
run : |
568
+ corepack enable
569
+
556
570
cd packages
557
571
yarn
558
572
env :
@@ -579,6 +593,8 @@ jobs:
579
593
node-version-file : " .node-version"
580
594
- name : Prepare Environment
581
595
run : |
596
+ corepack enable
597
+
582
598
cd packages
583
599
yarn
584
600
env :
@@ -619,6 +635,8 @@ jobs:
619
635
key : ${{ runner.os }}-${{ hashFiles('packages/yarn.lock') }}
620
636
- name : Prepare Environment
621
637
run : |
638
+ corepack enable
639
+
622
640
cd packages
623
641
yarn config set cacheFolder /home/runner/publish-docs-cache
624
642
yarn install
@@ -668,6 +686,8 @@ jobs:
668
686
node-version-file : " .node-version"
669
687
- name : Prepare Environment # have to run this first to make sure the semver lib is available
670
688
run : |
689
+ corepack enable
690
+
671
691
yarn config set cacheFolder /home/runner/release-libs-cache
672
692
673
693
cd packages
@@ -752,6 +772,8 @@ jobs:
752
772
key : ${{ runner.os }}-${{ hashFiles('yarn.lock', 'meteor/yarn.lock', 'meteor/.meteor/release', 'packages/yarn.lock') }}
753
773
- name : Prepare Environment
754
774
run : |
775
+ corepack enable
776
+
755
777
yarn config set cacheFolder /home/runner/check-for-multiple-library-versions-cache
756
778
yarn
757
779
env :
0 commit comments