@@ -274,7 +274,7 @@ jobs:
274274 echo "image=$image" >> $GITHUB_OUTPUT
275275 - name : Trivy scanning
276276 if : steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
277- uses : aquasecurity/trivy-action@0.33 .1
277+ uses : aquasecurity/trivy-action@0.34 .1
278278 env :
279279 TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db
280280 with :
@@ -446,7 +446,7 @@ jobs:
446446 echo "image=$image" >> $GITHUB_OUTPUT
447447 - name : Trivy scanning
448448 if : steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
449- uses : aquasecurity/trivy-action@0.33 .1
449+ uses : aquasecurity/trivy-action@0.34 .1
450450 env :
451451 TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db
452452 with :
@@ -467,29 +467,10 @@ jobs:
467467 echo $CODE_BLOCK >> $GITHUB_STEP_SUMMARY
468468
469469 lint-packages :
470- name : Lint Package ${{ matrix.package-name }}
470+ name : Lint Packages
471471 runs-on : ubuntu-latest
472472 timeout-minutes : 15
473473
474- strategy :
475- fail-fast : false
476- matrix :
477- package-name :
478- - blueprints-integration
479- - server-core-integration
480- - playout-gateway
481- - mos-gateway
482- - corelib
483- - shared-lib
484- - meteor-lib
485- - job-worker
486- - openapi
487- - live-status-gateway
488- - live-status-gateway-api
489- include :
490- - package-name : webui
491- tsconfig-name : tsconfig.json
492-
493474 steps :
494475 - uses : actions/checkout@v6
495476 with :
@@ -498,30 +479,32 @@ jobs:
498479 uses : actions/setup-node@v6
499480 with :
500481 node-version-file : " .node-version"
482+ - uses : ./.github/actions/setup-meteor
501483 - name : restore node_modules
502484 uses : actions/cache@v5
503485 with :
504486 path : |
487+ node_modules
488+ meteor/node_modules
505489 packages/node_modules
506- key : ${{ runner.os }}-${{ hashFiles('packages/yarn.lock') }}
490+ key : ${{ runner.os }}-${{ hashFiles('yarn.lock', 'meteor/yarn.lock', 'meteor/.meteor/release', ' packages/yarn.lock') }}
507491 - name : Prepare Environment
508492 run : |
509493 corepack enable
510494
511- cd packages
512- yarn config set cacheFolder /home/runner/${{ matrix.package-name }}-cache
495+ yarn config set cacheFolder /home/runner/publish-docs-cache
513496 yarn install
514497
515- if [ "${{ matrix.package-name }}" = "openapi" ]; then
516- yarn workspace @sofie-automation/openapi run build
517- else
518- yarn build:single ${{ matrix.package-name }}/${{ matrix.tsconfig-name || 'tsconfig.build.json' }}
519- fi
498+ # setup zodern:types. No linters are setup, so this simply installs the packages
499+ yarn meteor lint
500+
501+ cd packages
502+ yarn build:all
520503 env :
521504 CI : true
522505 - name : Run typecheck and linter
523506 run : |
524- cd packages/${{ matrix.package-name }}
507+ cd packages
525508 yarn lint
526509 env :
527510 CI : true
0 commit comments