16
16
continue-on-error : true
17
17
timeout-minutes : 15
18
18
steps :
19
- - uses : actions/checkout@v4
19
+ - uses : actions/checkout@v5
20
20
with :
21
21
persist-credentials : false
22
22
- name : Use Node.js
57
57
runs-on : ubuntu-latest
58
58
timeout-minutes : 30
59
59
steps :
60
- - uses : actions/checkout@v4
60
+ - uses : actions/checkout@v5
61
61
with :
62
62
persist-credentials : false
63
63
- name : Use Node.js
@@ -104,14 +104,14 @@ jobs:
104
104
runs-on : ubuntu-latest
105
105
timeout-minutes : 30
106
106
steps :
107
- - uses : actions/checkout@v4
107
+ - uses : actions/checkout@v5
108
108
with :
109
109
persist-credentials : false
110
110
- name : Determine if images should be published to DockerHub
111
111
id : dockerhub
112
112
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/* ]]
115
115
then
116
116
DOCKERHUB_PUBLISH="1"
117
117
else
@@ -252,7 +252,7 @@ jobs:
252
252
echo "image=$image" >> $GITHUB_OUTPUT
253
253
- name : Trivy scanning
254
254
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
256
256
env :
257
257
TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db
258
258
with :
@@ -284,14 +284,14 @@ jobs:
284
284
gateway-name : [playout-gateway, mos-gateway, "live-status-gateway"]
285
285
286
286
steps :
287
- - uses : actions/checkout@v4
287
+ - uses : actions/checkout@v5
288
288
with :
289
289
persist-credentials : false
290
290
- name : Determine if images should be published to DockerHub
291
291
id : dockerhub
292
292
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/*" ]]
295
295
then
296
296
DOCKERHUB_PUBLISH="1"
297
297
else
@@ -405,7 +405,7 @@ jobs:
405
405
echo "image=$image" >> $GITHUB_OUTPUT
406
406
- name : Trivy scanning
407
407
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
409
409
env :
410
410
TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db
411
411
with :
@@ -446,9 +446,10 @@ jobs:
446
446
- openapi
447
447
- live-status-gateway
448
448
- webui
449
+ - live-status-gateway-api
449
450
450
451
steps :
451
- - uses : actions/checkout@v4
452
+ - uses : actions/checkout@v5
452
453
with :
453
454
persist-credentials : false
454
455
- name : Use Node.js
@@ -479,7 +480,7 @@ jobs:
479
480
CI : true
480
481
481
482
test-packages :
482
- name : Test Package
483
+ name : Test Package (main)
483
484
runs-on : ubuntu-latest
484
485
timeout-minutes : 15
485
486
@@ -490,6 +491,7 @@ jobs:
490
491
- blueprints-integration
491
492
- server-core-integration
492
493
- shared-lib
494
+ # - live-status-gateway-api # no tests yet
493
495
- openapi
494
496
node-version : [22.x]
495
497
include :
@@ -516,7 +518,7 @@ jobs:
516
518
send-coverage : true
517
519
518
520
steps :
519
- - uses : actions/checkout@v4
521
+ - uses : actions/checkout@v5
520
522
with :
521
523
persist-credentials : false
522
524
- name : Use Node.js ${{ matrix.node-version }}
@@ -546,8 +548,8 @@ jobs:
546
548
env :
547
549
CI : true
548
550
- 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
551
553
env :
552
554
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
553
555
@@ -556,7 +558,7 @@ jobs:
556
558
runs-on : ubuntu-latest
557
559
timeout-minutes : 15
558
560
steps :
559
- - uses : actions/checkout@v4
561
+ - uses : actions/checkout@v5
560
562
with :
561
563
persist-credentials : false
562
564
- name : Use Node.js
@@ -573,18 +575,20 @@ jobs:
573
575
CI : true
574
576
- name : Run generator
575
577
run : |
576
- cd packages/live-status-gateway
578
+ cd packages/live-status-gateway-api
577
579
578
580
yarn gendocs
579
581
yarn genserver
582
+
583
+ yarn generate-schema-types
580
584
env :
581
585
CI : true
582
586
openapi-generation :
583
587
name : OpenAPI Generation
584
588
runs-on : ubuntu-latest
585
589
timeout-minutes : 15
586
590
steps :
587
- - uses : actions/checkout@v4
591
+ - uses : actions/checkout@v5
588
592
with :
589
593
persist-credentials : false
590
594
- name : Use Node.js
@@ -620,7 +624,7 @@ jobs:
620
624
timeout-minutes : 15
621
625
622
626
steps :
623
- - uses : actions/checkout@v4
627
+ - uses : actions/checkout@v5
624
628
with :
625
629
persist-credentials : false
626
630
- name : Use Node.js
@@ -657,7 +661,7 @@ jobs:
657
661
env :
658
662
CI : true
659
663
- 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
661
665
uses : peaceiris/actions-gh-pages@v4
662
666
with :
663
667
github_token : ${{ secrets.GITHUB_TOKEN }}
@@ -677,7 +681,7 @@ jobs:
677
681
- build-core
678
682
679
683
steps :
680
- - uses : actions/checkout@v4
684
+ - uses : actions/checkout@v5
681
685
with :
682
686
persist-credentials : false
683
687
- name : Use Node.js
@@ -754,7 +758,7 @@ jobs:
754
758
continue-on-error : true
755
759
timeout-minutes : 15
756
760
steps :
757
- - uses : actions/checkout@v4
761
+ - uses : actions/checkout@v5
758
762
with :
759
763
persist-credentials : false
760
764
- name : Use Node.js
0 commit comments