File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -443,8 +443,10 @@ jobs:
443443 - job-worker
444444 - openapi
445445 - live-status-gateway
446- - webui
447446 - live-status-gateway-api
447+ include :
448+ - package-name : webui
449+ tsconfig-name : tsconfig.json
448450
449451 steps :
450452 - uses : actions/checkout@v6
@@ -467,7 +469,12 @@ jobs:
467469 cd packages
468470 yarn config set cacheFolder /home/runner/${{ matrix.package-name }}-cache
469471 yarn install
470- yarn build:single ${{ matrix.package-name }}/tsconfig.build.json
472+
473+ if [ "${{ matrix.package-name }}" = "openapi" ]; then
474+ yarn workspace @sofie-automation/openapi run build
475+ else
476+ yarn build:single ${{ matrix.package-name }}/${{ matrix.tsconfig-name || 'tsconfig.build.json' }}
477+ fi
471478 env :
472479 CI : true
473480 - name : Run typecheck and linter
@@ -513,6 +520,7 @@ jobs:
513520 - node-version : 22.x
514521 package-name : webui
515522 send-coverage : true
523+ tsconfig-name : tsconfig.json
516524 # manual meteor-lib as it only needs a couple of versions
517525 - node-version : 22.x
518526 package-name : meteor-lib
@@ -539,7 +547,12 @@ jobs:
539547 cd packages
540548 yarn config set cacheFolder /home/runner/test-packages-cache
541549 yarn install
542- yarn build:single ${{ matrix.package-name }}/tsconfig.build.json
550+
551+ if [ "${{ matrix.package-name }}" = "openapi" ]; then
552+ yarn workspace @sofie-automation/openapi run build
553+ else
554+ yarn build:single ${{ matrix.package-name }}/${{ matrix.tsconfig-name || 'tsconfig.build.json' }}
555+ fi
543556 env :
544557 CI : true
545558 - name : Run tests
Original file line number Diff line number Diff line change 7575
7676 cd packages
7777 yarn install
78- yarn build
78+ yarn build:single ${{ matrix.package-name }}/tsconfig.build.json
7979 env :
8080 CI : true
8181 - name : Run typecheck and linter
@@ -119,7 +119,7 @@ jobs:
119119
120120 cd packages
121121 yarn install
122- yarn lerna run --scope \*\*/ ${{ matrix.package-name }} --include-dependencies --stream build
122+ yarn build:single ${{ matrix.package-name }}/tsconfig. build.json
123123 env :
124124 CI : true
125125 - name : Run tests
Original file line number Diff line number Diff line change 1313 "resolveJsonModule" : true ,
1414 "skipLibCheck" : true ,
1515 "esModuleInterop" : true
16- }
16+ },
17+ "references" : [
18+ //
19+ { "path" : " ../shared-lib/tsconfig.build.json" },
20+ { "path" : " ../server-core-integration/tsconfig.build.json" }
21+ ]
1722}
You can’t perform that action at this time.
0 commit comments