23
23
# get matrix for ci-jobs
24
24
get_matrix :
25
25
name : Load CI Matrix Details
26
- runs-on : ' ubuntu-latest '
26
+ runs-on : ${{ vars.RUNS_ON }}
27
27
outputs :
28
28
matrix : ${{ steps.get-matrix.outputs.matrix }}
29
29
steps :
43
43
build_packages :
44
44
needs : get_matrix
45
45
name : ' Build Packages (${{ matrix.flavor }})'
46
- runs-on : ' ubuntu-latest '
46
+ runs-on : ${{ vars.RUNS_ON }}
47
47
strategy :
48
48
matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
49
49
steps :
@@ -123,7 +123,7 @@ jobs:
123
123
jest-test-coverage :
124
124
needs : [get_matrix, build_packages]
125
125
name : ' Jest Test Coverage (${{ matrix.flavor }})'
126
- runs-on : ' ubuntu-latest '
126
+ runs-on : ${{ vars.RUNS_ON }}
127
127
permissions :
128
128
pull-requests : write
129
129
strategy :
@@ -220,7 +220,7 @@ jobs:
220
220
name : Check if in progress feature can be removed separately (${{ matrix.flavor }})
221
221
strategy :
222
222
matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
223
- runs-on : ' ubuntu-latest '
223
+ runs-on : ${{ vars.RUNS_ON }}
224
224
steps :
225
225
# Checks-out your repository under $GITHUB_WORKSPACE so job can access it
226
226
- uses : actions/checkout@v4
@@ -269,7 +269,7 @@ jobs:
269
269
call_composite_automation_test :
270
270
needs : get_matrix
271
271
name : ' Call Composite automation test (${{ matrix.flavor }})'
272
- runs-on : ' ubuntu-latest '
272
+ runs-on : ${{ vars.RUNS_ON }}
273
273
permissions :
274
274
pull-requests : write
275
275
strategy :
@@ -336,7 +336,7 @@ jobs:
336
336
chat_composite_automation_test :
337
337
needs : get_matrix
338
338
name : ' Chat Composite automation test (${{ matrix.flavor }})'
339
- runs-on : ' ubuntu-latest '
339
+ runs-on : ${{ vars.RUNS_ON }}
340
340
permissions :
341
341
pull-requests : write
342
342
strategy :
@@ -403,7 +403,7 @@ jobs:
403
403
call_with_chat_composite_automation_test :
404
404
needs : get_matrix
405
405
name : ' Call With Chat Composite automation test (${{ matrix.flavor }})'
406
- runs-on : ' ubuntu-latest '
406
+ runs-on : ${{ vars.RUNS_ON }}
407
407
permissions :
408
408
pull-requests : write
409
409
strategy :
@@ -469,7 +469,7 @@ jobs:
469
469
components_automation_test :
470
470
needs : get_matrix
471
471
name : ' Components automation test (${{ matrix.flavor }})'
472
- runs-on : ' ubuntu-latest '
472
+ runs-on : ${{ vars.RUNS_ON }}
473
473
permissions :
474
474
pull-requests : write
475
475
strategy :
@@ -527,7 +527,7 @@ jobs:
527
527
name : Build Storybook v8 (${{ matrix.flavor }})
528
528
strategy :
529
529
matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
530
- runs-on : ' ubuntu-latest '
530
+ runs-on : ${{ vars.RUNS_ON }}
531
531
steps :
532
532
- uses : actions/checkout@v4
533
533
- name : Use Node.js
@@ -556,7 +556,7 @@ jobs:
556
556
build_calling_sample :
557
557
needs : get_matrix
558
558
name : ' Build Calling Sample (${{ matrix.flavor }})'
559
- runs-on : ' ubuntu-latest '
559
+ runs-on : ${{ vars.RUNS_ON }}
560
560
strategy :
561
561
matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
562
562
steps :
@@ -588,7 +588,7 @@ jobs:
588
588
build_chat_sample :
589
589
needs : get_matrix
590
590
name : ' Build Chat Sample (${{ matrix.flavor }})'
591
- runs-on : ' ubuntu-latest '
591
+ runs-on : ${{ vars.RUNS_ON }}
592
592
strategy :
593
593
matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
594
594
steps :
@@ -620,7 +620,7 @@ jobs:
620
620
build_call_with_chat_sample :
621
621
needs : get_matrix
622
622
name : ' Build CallWithChat Sample (${{ matrix.flavor }})'
623
- runs-on : ' ubuntu-latest '
623
+ runs-on : ${{ vars.RUNS_ON }}
624
624
strategy :
625
625
matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
626
626
steps :
@@ -652,7 +652,7 @@ jobs:
652
652
build_calling_stateful_samples :
653
653
needs : get_matrix
654
654
name : ' Build Calling Stateful Samples (${{ matrix.flavor }})'
655
- runs-on : ' ubuntu-latest '
655
+ runs-on : ${{ vars.RUNS_ON }}
656
656
strategy :
657
657
matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
658
658
steps :
@@ -678,7 +678,7 @@ jobs:
678
678
build_static_html_composites_sample :
679
679
needs : get_matrix
680
680
name : ' Build And Test Static HTML Composites Sample (${{ matrix.flavor }})'
681
- runs-on : ' ubuntu-latest '
681
+ runs-on : ${{ vars.RUNS_ON }}
682
682
permissions :
683
683
pull-requests : write
684
684
strategy :
@@ -728,7 +728,7 @@ jobs:
728
728
build_component_examples :
729
729
needs : get_matrix
730
730
name : ' Build And Test Component+Binding Examples (${{ matrix.flavor }})'
731
- runs-on : ' ubuntu-latest '
731
+ runs-on : ${{ vars.RUNS_ON }}
732
732
permissions :
733
733
pull-requests : write
734
734
strategy :
@@ -776,7 +776,7 @@ jobs:
776
776
})
777
777
778
778
compare_base_bundle_stats :
779
- runs-on : ' ubuntu-latest '
779
+ runs-on : ${{ vars.RUNS_ON }}
780
780
permissions :
781
781
pull-requests : write
782
782
if : ${{ github.event_name == 'pull_request' && !startsWith(github.event.pull_request.base.ref, 'release/') }}
@@ -858,7 +858,7 @@ jobs:
858
858
fi
859
859
echo "Bundle size diff for $app is below the threshold of $significantBundleSizeThreshold. All is good!"
860
860
update_base_bundle_report :
861
- runs-on : ' ubuntu-latest '
861
+ runs-on : ${{ vars.RUNS_ON }}
862
862
name : Upload bundle size report to gist - ${{ matrix.app }}
863
863
needs : [build_calling_sample, build_chat_sample, build_call_with_chat_sample]
864
864
if : github.ref == 'refs/heads/main'
@@ -886,7 +886,7 @@ jobs:
886
886
file_path : report.json
887
887
888
888
check_failure :
889
- runs-on : ' ubuntu-latest '
889
+ runs-on : ${{ vars.RUNS_ON }}
890
890
permissions :
891
891
issues : write
892
892
needs :
0 commit comments