3434 key : ${{ runner.os }}-${{ hashFiles('yarn.lock', 'meteor/yarn.lock', 'meteor/.meteor/release', 'packages/yarn.lock') }}
3535 - name : Prepare Environment
3636 run : |
37+ corepack enable
38+
3739 yarn config set cacheFolder /home/runner/lint-core-cache
3840 yarn
3941 yarn build:packages
4648 # setup zodern:types. No linters are setup, so this simply installs the packages
4749 meteor lint
4850
49- meteor yarn ci:lint
51+ yarn ci:lint
5052 env :
5153 CI : true
5254
7375 key : ${{ runner.os }}-${{ hashFiles('yarn.lock', 'meteor/yarn.lock', 'meteor/.meteor/release', 'packages/yarn.lock') }}
7476 - name : Prepare Environment
7577 run : |
78+ corepack enable
79+
7680 yarn config set cacheFolder /home/runner/test-core-cache
7781 yarn
7882 yarn build:packages
8589 # setup zodern:types. No linters are setup, so this simply installs the packages
8690 meteor lint
8791
88- NODE_OPTIONS="--max-old-space-size=6144" meteor yarn unitci --force-exit
92+ NODE_OPTIONS="--max-old-space-size=6144" yarn unitci --force-exit
8993 env :
9094 CI : true
9195 - name : Send coverage
@@ -174,6 +178,8 @@ jobs:
174178 - name : Prepare Environment
175179 if : steps.check-build-and-push.outputs.enable == 'true'
176180 run : |
181+ corepack enable
182+
177183 yarn install
178184 - name : Build libs
179185 if : steps.check-build-and-push.outputs.enable == 'true'
@@ -184,11 +190,18 @@ jobs:
184190 run : |
185191 cd meteor
186192 yarn inject-git-hash
193+ - name : Prepare webui for meteor build
194+ if : steps.check-build-and-push.outputs.enable == 'true'
195+ run : |
196+ rm -Rf meteor/public
197+ cp -R packages/webui/dist meteor/public
187198 - name : Meteor Build
188199 if : steps.check-build-and-push.outputs.enable == 'true'
189200 run : |
190201 cd meteor
191202 NODE_OPTIONS="--max-old-space-size=4096" METEOR_DEBUG_BUILD=1 meteor build --allow-superuser --directory .
203+ mv bundle/programs/web.browser/assets/ bundle/programs/web.browser/app/assets/ || true
204+
192205 - name : Meteor Bundle NPM Build
193206 if : steps.check-build-and-push.outputs.enable == 'true'
194207 run : |
@@ -341,6 +354,8 @@ jobs:
341354 - name : Build
342355 if : steps.check-build-and-push.outputs.enable == 'true'
343356 run : |
357+ corepack enable
358+
344359 cd packages
345360 yarn install
346361 yarn lerna run --scope \*\*/${{ matrix.gateway-name }} --include-dependencies --stream build
@@ -426,9 +441,11 @@ jobs:
426441 - mos-gateway
427442 - corelib
428443 - shared-lib
444+ - meteor-lib
429445 - job-worker
430446 - openapi
431447 - live-status-gateway
448+ - webui
432449
433450 steps :
434451 - uses : actions/checkout@v4
@@ -446,6 +463,8 @@ jobs:
446463 key : ${{ runner.os }}-${{ hashFiles('packages/yarn.lock') }}
447464 - name : Prepare Environment
448465 run : |
466+ corepack enable
467+
449468 cd packages
450469 yarn config set cacheFolder /home/runner/${{ matrix.package-name }}-cache
451470 yarn install
@@ -471,29 +490,30 @@ jobs:
471490 - blueprints-integration
472491 - server-core-integration
473492 - shared-lib
474- node-version : [14.x, 16.x, 18.x, 20.x]
493+ - openapi
494+ node-version : [22.x]
475495 include :
476496 # include additional configs, to run certain packages only for a certain version of node
477- - node-version : 14 .x
497+ - node-version : 22 .x
478498 package-name : corelib
479499 send-coverage : true
480- - node-version : 14 .x
500+ - node-version : 22 .x
481501 package-name : job-worker
482502 send-coverage : true
483- # manual openapi to avoid testing for 14.x
484- - node-version : 16.x
485- package-name : openapi
486- - node-version : 18.x
487- package-name : openapi
488- - node-version : 20.x
489- package-name : openapi
490503 # No tests for the gateways yet
491- # - node-version: 18 .x
504+ # - node-version: 22 .x
492505 # package-name: playout-gateway
493- # - node-version: 18 .x
506+ # - node-version: 22 .x
494507 # package-name: mos-gateway
495- - node-version : 18 .x
508+ - node-version : 22 .x
496509 package-name : live-status-gateway
510+ send-coverage : true
511+ - node-version : 22.x
512+ package-name : webui
513+ # manual meteor-lib as it only needs a couple of versions
514+ - node-version : 22.x
515+ package-name : meteor-lib
516+ send-coverage : true
497517
498518 steps :
499519 - uses : actions/checkout@v4
@@ -511,9 +531,11 @@ jobs:
511531 key : ${{ runner.os }}-${{ hashFiles('packages/yarn.lock') }}
512532 - name : Prepare Environment
513533 run : |
534+ corepack enable
535+
514536 cd packages
515537 yarn config set cacheFolder /home/runner/test-packages-cache
516- node is_node_14.js && yarn lerna run --ignore openapi install || yarn install
538+ yarn install
517539 yarn lerna run --scope \*\*/${{ matrix.package-name }} --include-dependencies --stream build
518540 env :
519541 CI : true
@@ -524,8 +546,8 @@ jobs:
524546 env :
525547 CI : true
526548 - name : Send coverage
527- if : (matrix.node-version == '16 .x' || matrix.send-coverage == true) && ((github.event_name == 'pull_request') && ((!startsWith(github.head_ref, 'release'))) || ((github.event_name == 'push') && (!startsWith(github.ref_name, 'release'))))
528- uses : codecov/codecov-action@v5
549+ if : (matrix.node-version == '18 .x' || matrix.send-coverage == true) && ((github.event_name == 'pull_request') && ((!startsWith(github.head_ref, 'release'))) || ((github.event_name == 'push') && (!startsWith(github.ref_name, 'release'))))
550+ uses : codecov/codecov-action@v4
529551 env :
530552 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
531553
@@ -543,6 +565,8 @@ jobs:
543565 node-version-file : " .node-version"
544566 - name : Prepare Environment
545567 run : |
568+ corepack enable
569+
546570 cd packages
547571 yarn
548572 env :
@@ -569,6 +593,8 @@ jobs:
569593 node-version-file : " .node-version"
570594 - name : Prepare Environment
571595 run : |
596+ corepack enable
597+
572598 cd packages
573599 yarn
574600 env :
@@ -609,10 +635,12 @@ jobs:
609635 key : ${{ runner.os }}-${{ hashFiles('packages/yarn.lock') }}
610636 - name : Prepare Environment
611637 run : |
638+ corepack enable
639+
612640 cd packages
613641 yarn config set cacheFolder /home/runner/publish-docs-cache
614642 yarn install
615- yarn build
643+ yarn build:all
616644 env :
617645 CI : true
618646 - name : Run docusaurus
@@ -658,6 +686,8 @@ jobs:
658686 node-version-file : " .node-version"
659687 - name : Prepare Environment # have to run this first to make sure the semver lib is available
660688 run : |
689+ corepack enable
690+
661691 yarn config set cacheFolder /home/runner/release-libs-cache
662692
663693 cd packages
@@ -742,6 +772,8 @@ jobs:
742772 key : ${{ runner.os }}-${{ hashFiles('yarn.lock', 'meteor/yarn.lock', 'meteor/.meteor/release', 'packages/yarn.lock') }}
743773 - name : Prepare Environment
744774 run : |
775+ corepack enable
776+
745777 yarn config set cacheFolder /home/runner/check-for-multiple-library-versions-cache
746778 yarn
747779 env :
0 commit comments