1616 continue-on-error : true
1717 timeout-minutes : 15
1818 steps :
19- - uses : actions/checkout@v4
19+ - uses : actions/checkout@v5
2020 with :
2121 persist-credentials : false
2222 - name : Use Node.js
5757 runs-on : ubuntu-latest
5858 timeout-minutes : 30
5959 steps :
60- - uses : actions/checkout@v4
60+ - uses : actions/checkout@v5
6161 with :
6262 persist-credentials : false
6363 - name : Use Node.js
@@ -104,14 +104,14 @@ jobs:
104104 runs-on : ubuntu-latest
105105 timeout-minutes : 30
106106 steps :
107- - uses : actions/checkout@v4
107+ - uses : actions/checkout@v5
108108 with :
109109 persist-credentials : false
110110 - name : Determine if images should be published to DockerHub
111111 id : dockerhub
112112 run : |
113- # check if a release branch, or master , or a tag
114- if [[ "${{ github.ref }}" =~ ^refs/heads/release([0-9]+)$ || "${{ github.ref }}" == "refs/heads/master " || "${{ github.ref }}" == refs/tags/* ]]
113+ # check if a release branch, or main , or a tag
114+ if [[ "${{ github.ref }}" =~ ^refs/heads/release([0-9]+)$ || "${{ github.ref }}" == "refs/heads/main " || "${{ github.ref }}" == refs/tags/* ]]
115115 then
116116 DOCKERHUB_PUBLISH="1"
117117 else
@@ -252,7 +252,7 @@ jobs:
252252 echo "image=$image" >> $GITHUB_OUTPUT
253253 - name : Trivy scanning
254254 if : steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
255- uses : aquasecurity/trivy-action@0.29 .0
255+ uses : aquasecurity/trivy-action@0.32 .0
256256 env :
257257 TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db
258258 with :
@@ -284,14 +284,14 @@ jobs:
284284 gateway-name : [playout-gateway, mos-gateway, "live-status-gateway"]
285285
286286 steps :
287- - uses : actions/checkout@v4
287+ - uses : actions/checkout@v5
288288 with :
289289 persist-credentials : false
290290 - name : Determine if images should be published to DockerHub
291291 id : dockerhub
292292 run : |
293- # check if a release branch, or master , or a tag
294- if [[ "${{ github.ref }}" =~ ^refs/heads/release([0-9]+)$ || "${{ github.ref }}" == "refs/heads/master " || "${{ github.ref }}" == "refs/tags/*" ]]
293+ # check if a release branch, or main , or a tag
294+ if [[ "${{ github.ref }}" =~ ^refs/heads/release([0-9]+)$ || "${{ github.ref }}" == "refs/heads/main " || "${{ github.ref }}" == "refs/tags/*" ]]
295295 then
296296 DOCKERHUB_PUBLISH="1"
297297 else
@@ -405,7 +405,7 @@ jobs:
405405 echo "image=$image" >> $GITHUB_OUTPUT
406406 - name : Trivy scanning
407407 if : steps.check-build-and-push.outputs.enable == 'true' && steps.check-ghcr.outputs.enable == 'true' && steps.ghcr-tag.outputs.tags != 0
408- uses : aquasecurity/trivy-action@0.29 .0
408+ uses : aquasecurity/trivy-action@0.32 .0
409409 env :
410410 TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db
411411 with :
@@ -446,9 +446,10 @@ jobs:
446446 - openapi
447447 - live-status-gateway
448448 - webui
449+ - live-status-gateway-api
449450
450451 steps :
451- - uses : actions/checkout@v4
452+ - uses : actions/checkout@v5
452453 with :
453454 persist-credentials : false
454455 - name : Use Node.js
@@ -479,7 +480,7 @@ jobs:
479480 CI : true
480481
481482 test-packages :
482- name : Test Package
483+ name : Test Package (main)
483484 runs-on : ubuntu-latest
484485 timeout-minutes : 15
485486
@@ -490,6 +491,7 @@ jobs:
490491 - blueprints-integration
491492 - server-core-integration
492493 - shared-lib
494+ # - live-status-gateway-api # no tests yet
493495 - openapi
494496 node-version : [22.x]
495497 include :
@@ -516,7 +518,7 @@ jobs:
516518 send-coverage : true
517519
518520 steps :
519- - uses : actions/checkout@v4
521+ - uses : actions/checkout@v5
520522 with :
521523 persist-credentials : false
522524 - name : Use Node.js ${{ matrix.node-version }}
@@ -546,8 +548,8 @@ jobs:
546548 env :
547549 CI : true
548550 - name : Send coverage
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
551+ if : (matrix.node-version == '22 .x' || matrix.send-coverage == true) && ((( github.event_name == 'pull_request') && (!startsWith(github.head_ref, 'release'))) || ((github.event_name == 'push') && (!startsWith(github.ref_name, 'release'))))
552+ uses : codecov/codecov-action@v5
551553 env :
552554 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
553555
@@ -556,7 +558,7 @@ jobs:
556558 runs-on : ubuntu-latest
557559 timeout-minutes : 15
558560 steps :
559- - uses : actions/checkout@v4
561+ - uses : actions/checkout@v5
560562 with :
561563 persist-credentials : false
562564 - name : Use Node.js
@@ -573,18 +575,20 @@ jobs:
573575 CI : true
574576 - name : Run generator
575577 run : |
576- cd packages/live-status-gateway
578+ cd packages/live-status-gateway-api
577579
578580 yarn gendocs
579581 yarn genserver
582+
583+ yarn generate-schema-types
580584 env :
581585 CI : true
582586 openapi-generation :
583587 name : OpenAPI Generation
584588 runs-on : ubuntu-latest
585589 timeout-minutes : 15
586590 steps :
587- - uses : actions/checkout@v4
591+ - uses : actions/checkout@v5
588592 with :
589593 persist-credentials : false
590594 - name : Use Node.js
@@ -620,7 +624,7 @@ jobs:
620624 timeout-minutes : 15
621625
622626 steps :
623- - uses : actions/checkout@v4
627+ - uses : actions/checkout@v5
624628 with :
625629 persist-credentials : false
626630 - name : Use Node.js
@@ -657,7 +661,7 @@ jobs:
657661 env :
658662 CI : true
659663 - name : Publish
660- if : github.ref == 'refs/heads/master ' # always publish for just the master branch
664+ if : github.ref == 'refs/heads/main ' # always publish for just the main branch
661665 uses : peaceiris/actions-gh-pages@v4
662666 with :
663667 github_token : ${{ secrets.GITHUB_TOKEN }}
@@ -677,7 +681,7 @@ jobs:
677681 - build-core
678682
679683 steps :
680- - uses : actions/checkout@v4
684+ - uses : actions/checkout@v5
681685 with :
682686 persist-credentials : false
683687 - name : Use Node.js
@@ -754,7 +758,7 @@ jobs:
754758 continue-on-error : true
755759 timeout-minutes : 15
756760 steps :
757- - uses : actions/checkout@v4
761+ - uses : actions/checkout@v5
758762 with :
759763 persist-credentials : false
760764 - name : Use Node.js
0 commit comments