Skip to content

Commit 1c7edab

Browse files
authored
ci: Downgrade runners to ubuntu-20.04 (#15367)
1 parent 55cccfd commit 1c7edab

11 files changed

+30
-30
lines changed

.github/workflows/auto-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
# This workflow tirggers a release when merging a branch with the pattern `prepare-release/VERSION` into master.
1010
jobs:
1111
release:
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-20.04
1313
name: 'Prepare a new version'
1414

1515
steps:

.github/workflows/build.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ env:
6262
jobs:
6363
job_get_metadata:
6464
name: Get Metadata
65-
runs-on: ubuntu-22.04
65+
runs-on: ubuntu-20.04
6666
permissions:
6767
pull-requests: read
6868
steps:
@@ -118,7 +118,7 @@ jobs:
118118
job_build:
119119
name: Build
120120
needs: job_get_metadata
121-
runs-on: ubuntu-22.04
121+
runs-on: ubuntu-20.04
122122
timeout-minutes: 15
123123
if: |
124124
needs.job_get_metadata.outputs.changed_any_code == 'true' ||
@@ -196,7 +196,7 @@ jobs:
196196
job_check_branches:
197197
name: Check PR branches
198198
needs: job_get_metadata
199-
runs-on: ubuntu-22.04
199+
runs-on: ubuntu-20.04
200200
if: github.event_name == 'pull_request'
201201
permissions:
202202
pull-requests: write
@@ -212,7 +212,7 @@ jobs:
212212
name: Size Check
213213
needs: [job_get_metadata, job_build]
214214
timeout-minutes: 15
215-
runs-on: ubuntu-22.04
215+
runs-on: ubuntu-20.04
216216
if:
217217
github.event_name == 'pull_request' || needs.job_get_metadata.outputs.is_base_branch == 'true' ||
218218
needs.job_get_metadata.outputs.is_release == 'true'
@@ -242,7 +242,7 @@ jobs:
242242
# inter-package dependencies resolve cleanly.
243243
needs: [job_get_metadata, job_build]
244244
timeout-minutes: 10
245-
runs-on: ubuntu-22.04
245+
runs-on: ubuntu-20.04
246246
steps:
247247
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
248248
uses: actions/checkout@v4
@@ -267,7 +267,7 @@ jobs:
267267
name: Check file formatting
268268
needs: [job_get_metadata]
269269
timeout-minutes: 10
270-
runs-on: ubuntu-22.04
270+
runs-on: ubuntu-20.04
271271
steps:
272272
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
273273
uses: actions/checkout@v4
@@ -290,7 +290,7 @@ jobs:
290290
name: Circular Dependency Check
291291
needs: [job_get_metadata, job_build]
292292
timeout-minutes: 10
293-
runs-on: ubuntu-22.04
293+
runs-on: ubuntu-20.04
294294
steps:
295295
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
296296
uses: actions/checkout@v4
@@ -310,7 +310,7 @@ jobs:
310310
job_artifacts:
311311
name: Upload Artifacts
312312
needs: [job_get_metadata, job_build]
313-
runs-on: ubuntu-22.04
313+
runs-on: ubuntu-20.04
314314
# Build artifacts are only needed for releasing workflow.
315315
if: needs.job_get_metadata.outputs.is_release == 'true'
316316
steps:
@@ -347,7 +347,7 @@ jobs:
347347
name: Browser Unit Tests
348348
needs: [job_get_metadata, job_build]
349349
timeout-minutes: 10
350-
runs-on: ubuntu-22.04
350+
runs-on: ubuntu-20.04
351351
steps:
352352
- name: Check out base commit (${{ github.event.pull_request.base.sha }})
353353
uses: actions/checkout@v4
@@ -394,7 +394,7 @@ jobs:
394394
needs: [job_get_metadata, job_build]
395395
if: needs.job_build.outputs.changed_bun == 'true' || github.event_name != 'pull_request'
396396
timeout-minutes: 10
397-
runs-on: ubuntu-22.04
397+
runs-on: ubuntu-20.04
398398
strategy:
399399
fail-fast: false
400400
steps:
@@ -421,7 +421,7 @@ jobs:
421421
needs: [job_get_metadata, job_build]
422422
if: needs.job_build.outputs.changed_deno == 'true' || github.event_name != 'pull_request'
423423
timeout-minutes: 10
424-
runs-on: ubuntu-22.04
424+
runs-on: ubuntu-20.04
425425
strategy:
426426
fail-fast: false
427427
steps:
@@ -451,7 +451,7 @@ jobs:
451451
name: Node (${{ matrix.node }}) Unit Tests
452452
needs: [job_get_metadata, job_build]
453453
timeout-minutes: 10
454-
runs-on: ubuntu-22.04
454+
runs-on: ubuntu-20.04
455455
strategy:
456456
fail-fast: false
457457
matrix:
@@ -594,7 +594,7 @@ jobs:
594594
name: PW ${{ matrix.bundle }} Tests
595595
needs: [job_get_metadata, job_build]
596596
if: needs.job_build.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
597-
runs-on: ubuntu-22.04
597+
runs-on: ubuntu-20.04
598598
timeout-minutes: 15
599599
strategy:
600600
fail-fast: false
@@ -654,7 +654,7 @@ jobs:
654654
job_check_for_faulty_dts:
655655
name: Check for faulty .d.ts files
656656
needs: [job_get_metadata, job_build]
657-
runs-on: ubuntu-22.04
657+
runs-on: ubuntu-20.04
658658
timeout-minutes: 5
659659
steps:
660660
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
@@ -682,7 +682,7 @@ jobs:
682682
Tests
683683
needs: [job_get_metadata, job_build]
684684
if: needs.job_build.outputs.changed_node_integration == 'true' || github.event_name != 'pull_request'
685-
runs-on: ubuntu-22.04
685+
runs-on: ubuntu-20.04
686686
timeout-minutes: 15
687687
strategy:
688688
fail-fast: false
@@ -729,7 +729,7 @@ jobs:
729729
name: Remix (Node ${{ matrix.node }}) Tests
730730
needs: [job_get_metadata, job_build]
731731
if: needs.job_build.outputs.changed_remix == 'true' || github.event_name != 'pull_request'
732-
runs-on: ubuntu-22.04
732+
runs-on: ubuntu-20.04
733733
timeout-minutes: 10
734734
strategy:
735735
fail-fast: false
@@ -833,7 +833,7 @@ jobs:
833833
# See: https://github.com/actions/runner/issues/2205
834834
if: always() && needs.job_e2e_prepare.result == 'success' && needs.job_e2e_prepare.outputs.matrix != '{"include":[]}'
835835
needs: [job_get_metadata, job_build, job_e2e_prepare]
836-
runs-on: ubuntu-22.04
836+
runs-on: ubuntu-20.04
837837
timeout-minutes: 15
838838
env:
839839
# We just use a dummy DSN here, only send to the tunnel anyhow
@@ -955,7 +955,7 @@ jobs:
955955
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
956956
github.actor != 'dependabot[bot]'
957957
needs: [job_get_metadata, job_build, job_e2e_prepare]
958-
runs-on: ubuntu-22.04
958+
runs-on: ubuntu-20.04
959959
timeout-minutes: 15
960960
env:
961961
E2E_TEST_AUTH_TOKEN: ${{ secrets.E2E_TEST_AUTH_TOKEN }}
@@ -1075,7 +1075,7 @@ jobs:
10751075
]
10761076
# Always run this, even if a dependent job failed
10771077
if: always()
1078-
runs-on: ubuntu-22.04
1078+
runs-on: ubuntu-20.04
10791079
steps:
10801080
- name: Check for failures
10811081
if: contains(needs.*.result, 'failure')

.github/workflows/canary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ permissions:
2727
jobs:
2828
job_e2e_prepare:
2929
name: Prepare E2E Canary tests
30-
runs-on: ubuntu-22.04
30+
runs-on: ubuntu-20.04
3131
timeout-minutes: 30
3232
steps:
3333
- name: Check out current commit
@@ -54,7 +54,7 @@ jobs:
5454
job_e2e_tests:
5555
name: E2E ${{ matrix.label }} Test
5656
needs: [job_e2e_prepare]
57-
runs-on: ubuntu-22.04
57+
runs-on: ubuntu-20.04
5858
timeout-minutes: 20
5959
env:
6060
# We just use a dummy DSN here, only send to the tunnel anyhow

.github/workflows/clear-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
clear-caches:
2323
name: Delete all caches
24-
runs-on: ubuntu-22.04
24+
runs-on: ubuntu-20.04
2525
steps:
2626
- uses: actions/checkout@v4
2727

.github/workflows/enforce-license-compliance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
jobs:
1919
enforce-license-compliance:
20-
runs-on: ubuntu-22.04
20+
runs-on: ubuntu-20.04
2121
steps:
2222
- name: 'Enforce License Compliance'
2323
uses: getsentry/action-enforce-license-compliance@main

.github/workflows/external-contributors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
permissions:
1313
pull-requests: write
1414
contents: write
15-
runs-on: ubuntu-22.04
15+
runs-on: ubuntu-20.04
1616
if: |
1717
github.event.pull_request.merged == true
1818
&& github.event.pull_request.author_association != 'COLLABORATOR'

.github/workflows/flaky-test-detector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ concurrency:
2323

2424
jobs:
2525
flaky-detector:
26-
runs-on: ubuntu-22.04
26+
runs-on: ubuntu-20.04
2727
timeout-minutes: 60
2828
name: 'Check tests for flakiness'
2929
# Also skip if PR is from master -> develop

.github/workflows/gitflow-sync-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
jobs:
1818
main:
1919
name: Create PR master->develop
20-
runs-on: ubuntu-22.04
20+
runs-on: ubuntu-20.04
2121
permissions:
2222
pull-requests: write
2323
contents: write

.github/workflows/release-comment-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
# This workflow is triggered when a release is published
1313
jobs:
1414
release-comment-issues:
15-
runs-on: ubuntu-22.04
15+
runs-on: ubuntu-20.04
1616
name: 'Notify issues'
1717
steps:
1818
- name: Get version

.github/workflows/release-size-info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
# It fetches the size-limit info from the release branch and adds it to the release
1414
jobs:
1515
release-size-info:
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-20.04
1717
name: 'Add size-limit info to release'
1818

1919
steps:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
default: master
1515
jobs:
1616
release:
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-20.04
1818
name: 'Release a new version'
1919
steps:
2020
- name: Get auth token

0 commit comments

Comments
 (0)