2323 # get matrix for ci-jobs
2424 get_matrix :
2525 name : Load CI Matrix Details
26- runs-on : ' ubuntu-latest '
26+ runs-on : ${{ vars.RUNS_ON }}
2727 outputs :
2828 matrix : ${{ steps.get-matrix.outputs.matrix }}
2929 steps :
4343 build_packages :
4444 needs : get_matrix
4545 name : ' Build Packages (${{ matrix.flavor }})'
46- runs-on : ' ubuntu-latest '
46+ runs-on : ${{ vars.RUNS_ON }}
4747 strategy :
4848 matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
4949 steps :
@@ -123,7 +123,7 @@ jobs:
123123 jest-test-coverage :
124124 needs : [get_matrix, build_packages]
125125 name : ' Jest Test Coverage (${{ matrix.flavor }})'
126- runs-on : ' ubuntu-latest '
126+ runs-on : ${{ vars.RUNS_ON }}
127127 permissions :
128128 pull-requests : write
129129 strategy :
@@ -220,7 +220,7 @@ jobs:
220220 name : Check if in progress feature can be removed separately (${{ matrix.flavor }})
221221 strategy :
222222 matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
223- runs-on : ' ubuntu-latest '
223+ runs-on : ${{ vars.RUNS_ON }}
224224 steps :
225225 # Checks-out your repository under $GITHUB_WORKSPACE so job can access it
226226 - uses : actions/checkout@v4
@@ -269,7 +269,7 @@ jobs:
269269 call_composite_automation_test :
270270 needs : get_matrix
271271 name : ' Call Composite automation test (${{ matrix.flavor }})'
272- runs-on : ' ubuntu-latest '
272+ runs-on : ${{ vars.RUNS_ON }}
273273 permissions :
274274 pull-requests : write
275275 strategy :
@@ -336,7 +336,7 @@ jobs:
336336 chat_composite_automation_test :
337337 needs : get_matrix
338338 name : ' Chat Composite automation test (${{ matrix.flavor }})'
339- runs-on : ' ubuntu-latest '
339+ runs-on : ${{ vars.RUNS_ON }}
340340 permissions :
341341 pull-requests : write
342342 strategy :
@@ -403,7 +403,7 @@ jobs:
403403 call_with_chat_composite_automation_test :
404404 needs : get_matrix
405405 name : ' Call With Chat Composite automation test (${{ matrix.flavor }})'
406- runs-on : ' ubuntu-latest '
406+ runs-on : ${{ vars.RUNS_ON }}
407407 permissions :
408408 pull-requests : write
409409 strategy :
@@ -469,7 +469,7 @@ jobs:
469469 components_automation_test :
470470 needs : get_matrix
471471 name : ' Components automation test (${{ matrix.flavor }})'
472- runs-on : ' ubuntu-latest '
472+ runs-on : ${{ vars.RUNS_ON }}
473473 permissions :
474474 pull-requests : write
475475 strategy :
@@ -527,7 +527,7 @@ jobs:
527527 name : Build Storybook v8 (${{ matrix.flavor }})
528528 strategy :
529529 matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
530- runs-on : ' ubuntu-latest '
530+ runs-on : ${{ vars.RUNS_ON }}
531531 steps :
532532 - uses : actions/checkout@v4
533533 - name : Use Node.js
@@ -556,7 +556,7 @@ jobs:
556556 build_calling_sample :
557557 needs : get_matrix
558558 name : ' Build Calling Sample (${{ matrix.flavor }})'
559- runs-on : ' ubuntu-latest '
559+ runs-on : ${{ vars.RUNS_ON }}
560560 strategy :
561561 matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
562562 steps :
@@ -588,7 +588,7 @@ jobs:
588588 build_chat_sample :
589589 needs : get_matrix
590590 name : ' Build Chat Sample (${{ matrix.flavor }})'
591- runs-on : ' ubuntu-latest '
591+ runs-on : ${{ vars.RUNS_ON }}
592592 strategy :
593593 matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
594594 steps :
@@ -620,7 +620,7 @@ jobs:
620620 build_call_with_chat_sample :
621621 needs : get_matrix
622622 name : ' Build CallWithChat Sample (${{ matrix.flavor }})'
623- runs-on : ' ubuntu-latest '
623+ runs-on : ${{ vars.RUNS_ON }}
624624 strategy :
625625 matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
626626 steps :
@@ -652,7 +652,7 @@ jobs:
652652 build_calling_stateful_samples :
653653 needs : get_matrix
654654 name : ' Build Calling Stateful Samples (${{ matrix.flavor }})'
655- runs-on : ' ubuntu-latest '
655+ runs-on : ${{ vars.RUNS_ON }}
656656 strategy :
657657 matrix : ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
658658 steps :
@@ -678,7 +678,7 @@ jobs:
678678 build_static_html_composites_sample :
679679 needs : get_matrix
680680 name : ' Build And Test Static HTML Composites Sample (${{ matrix.flavor }})'
681- runs-on : ' ubuntu-latest '
681+ runs-on : ${{ vars.RUNS_ON }}
682682 permissions :
683683 pull-requests : write
684684 strategy :
@@ -728,7 +728,7 @@ jobs:
728728 build_component_examples :
729729 needs : get_matrix
730730 name : ' Build And Test Component+Binding Examples (${{ matrix.flavor }})'
731- runs-on : ' ubuntu-latest '
731+ runs-on : ${{ vars.RUNS_ON }}
732732 permissions :
733733 pull-requests : write
734734 strategy :
@@ -776,7 +776,7 @@ jobs:
776776 })
777777
778778 compare_base_bundle_stats :
779- runs-on : ' ubuntu-latest '
779+ runs-on : ${{ vars.RUNS_ON }}
780780 permissions :
781781 pull-requests : write
782782 if : ${{ github.event_name == 'pull_request' && !startsWith(github.event.pull_request.base.ref, 'release/') }}
@@ -858,7 +858,7 @@ jobs:
858858 fi
859859 echo "Bundle size diff for $app is below the threshold of $significantBundleSizeThreshold. All is good!"
860860 update_base_bundle_report :
861- runs-on : ' ubuntu-latest '
861+ runs-on : ${{ vars.RUNS_ON }}
862862 name : Upload bundle size report to gist - ${{ matrix.app }}
863863 needs : [build_calling_sample, build_chat_sample, build_call_with_chat_sample]
864864 if : github.ref == 'refs/heads/main'
@@ -886,7 +886,7 @@ jobs:
886886 file_path : report.json
887887
888888 check_failure :
889- runs-on : ' ubuntu-latest '
889+ runs-on : ${{ vars.RUNS_ON }}
890890 permissions :
891891 issues : write
892892 needs :
0 commit comments