Skip to content

Commit c6760c4

Browse files
authored
ci: Update runners to ubuntu-24.04 (#15501)
1 parent ba4586f commit c6760c4

14 files changed

+151
-104
lines changed

.github/actions/install-playwright/action.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ runs:
2323
with:
2424
path: |
2525
~/.cache/ms-playwright
26-
key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }}
26+
# Bump the iteration when bumping runner images to use a new cache
27+
key: playwright-${{ runner.os }}-iteration-1-${{ steps.playwright-version.outputs.version }}
2728

2829
# We always install all browsers, if uncached
2930
- name: Install Playwright dependencies (uncached)
@@ -45,4 +46,5 @@ runs:
4546
with:
4647
path: |
4748
~/.cache/ms-playwright
48-
key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }}
49+
# Bump the iteration when bumping runner images to use a new cache
50+
key: playwright-${{ runner.os }}-iteration-1-${{ steps.playwright-version.outputs.version }}

.github/workflows/auto-release.yml

+1-1
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-20.04
12+
runs-on: ubuntu-24.04
1313
name: 'Prepare a new version'
1414

1515
steps:

.github/workflows/build.yml

+21-21
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ env:
6767
jobs:
6868
job_get_metadata:
6969
name: Get Metadata
70-
runs-on: ubuntu-20.04
70+
runs-on: ubuntu-24.04
7171
permissions:
7272
pull-requests: read
7373
steps:
@@ -123,7 +123,7 @@ jobs:
123123
job_build:
124124
name: Build
125125
needs: job_get_metadata
126-
runs-on: ubuntu-20.04
126+
runs-on: ubuntu-24.04
127127
timeout-minutes: 15
128128
if: |
129129
needs.job_get_metadata.outputs.changed_any_code == 'true' ||
@@ -214,7 +214,7 @@ jobs:
214214
job_check_branches:
215215
name: Check PR branches
216216
needs: job_get_metadata
217-
runs-on: ubuntu-20.04
217+
runs-on: ubuntu-24.04
218218
if: github.event_name == 'pull_request'
219219
permissions:
220220
pull-requests: write
@@ -230,7 +230,7 @@ jobs:
230230
name: Size Check
231231
needs: [job_get_metadata, job_build]
232232
timeout-minutes: 15
233-
runs-on: ubuntu-20.04
233+
runs-on: ubuntu-24.04
234234
if:
235235
github.event_name == 'pull_request' || needs.job_get_metadata.outputs.is_base_branch == 'true' ||
236236
needs.job_get_metadata.outputs.is_release == 'true'
@@ -260,7 +260,7 @@ jobs:
260260
# inter-package dependencies resolve cleanly.
261261
needs: [job_get_metadata, job_build]
262262
timeout-minutes: 10
263-
runs-on: ubuntu-20.04
263+
runs-on: ubuntu-24.04
264264
steps:
265265
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
266266
uses: actions/checkout@v4
@@ -283,7 +283,7 @@ jobs:
283283
name: Check file formatting
284284
needs: [job_get_metadata]
285285
timeout-minutes: 10
286-
runs-on: ubuntu-20.04
286+
runs-on: ubuntu-24.04
287287
steps:
288288
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
289289
uses: actions/checkout@v4
@@ -306,7 +306,7 @@ jobs:
306306
name: Circular Dependency Check
307307
needs: [job_get_metadata, job_build]
308308
timeout-minutes: 10
309-
runs-on: ubuntu-20.04
309+
runs-on: ubuntu-24.04
310310
steps:
311311
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
312312
uses: actions/checkout@v4
@@ -326,7 +326,7 @@ jobs:
326326
job_artifacts:
327327
name: Upload Artifacts
328328
needs: [job_get_metadata, job_build]
329-
runs-on: ubuntu-20.04
329+
runs-on: ubuntu-24.04
330330
# Build artifacts are only needed for releasing workflow.
331331
if: needs.job_get_metadata.outputs.is_release == 'true'
332332
steps:
@@ -363,7 +363,7 @@ jobs:
363363
name: Browser Unit Tests
364364
needs: [job_get_metadata, job_build]
365365
timeout-minutes: 10
366-
runs-on: ubuntu-20.04
366+
runs-on: ubuntu-24.04
367367
steps:
368368
- name: Check out base commit (${{ github.event.pull_request.base.sha }})
369369
uses: actions/checkout@v4
@@ -410,7 +410,7 @@ jobs:
410410
needs: [job_get_metadata, job_build]
411411
if: needs.job_build.outputs.changed_bun == 'true' || github.event_name != 'pull_request'
412412
timeout-minutes: 10
413-
runs-on: ubuntu-20.04
413+
runs-on: ubuntu-24.04
414414
strategy:
415415
fail-fast: false
416416
steps:
@@ -437,7 +437,7 @@ jobs:
437437
needs: [job_get_metadata, job_build]
438438
if: needs.job_build.outputs.changed_deno == 'true' || github.event_name != 'pull_request'
439439
timeout-minutes: 10
440-
runs-on: ubuntu-20.04
440+
runs-on: ubuntu-24.04
441441
strategy:
442442
fail-fast: false
443443
steps:
@@ -467,7 +467,7 @@ jobs:
467467
name: Node (${{ matrix.node }}) Unit Tests
468468
needs: [job_get_metadata, job_build]
469469
timeout-minutes: 10
470-
runs-on: ubuntu-20.04
470+
runs-on: ubuntu-24.04
471471
strategy:
472472
fail-fast: false
473473
matrix:
@@ -522,7 +522,7 @@ jobs:
522522
matrix.project) || ''}}${{ matrix.shard && format(' ({0}/{1})', matrix.shard, matrix.shards) || ''}} Tests
523523
needs: [job_get_metadata, job_build]
524524
if: needs.job_build.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
525-
runs-on: ubuntu-20.04-large-js
525+
runs-on: ubuntu-24.04-large-js
526526
timeout-minutes: 25
527527
strategy:
528528
fail-fast: false
@@ -616,7 +616,7 @@ jobs:
616616
name: PW ${{ matrix.bundle }} Tests
617617
needs: [job_get_metadata, job_build]
618618
if: needs.job_build.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
619-
runs-on: ubuntu-20.04
619+
runs-on: ubuntu-24.04
620620
timeout-minutes: 15
621621
strategy:
622622
fail-fast: false
@@ -676,7 +676,7 @@ jobs:
676676
job_check_for_faulty_dts:
677677
name: Check for faulty .d.ts files
678678
needs: [job_get_metadata, job_build]
679-
runs-on: ubuntu-20.04
679+
runs-on: ubuntu-24.04
680680
timeout-minutes: 5
681681
steps:
682682
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
@@ -704,7 +704,7 @@ jobs:
704704
Tests
705705
needs: [job_get_metadata, job_build]
706706
if: needs.job_build.outputs.changed_node_integration == 'true' || github.event_name != 'pull_request'
707-
runs-on: ubuntu-20.04
707+
runs-on: ubuntu-24.04
708708
timeout-minutes: 15
709709
strategy:
710710
fail-fast: false
@@ -751,7 +751,7 @@ jobs:
751751
name: Remix (Node ${{ matrix.node }}) Tests
752752
needs: [job_get_metadata, job_build]
753753
if: needs.job_build.outputs.changed_remix == 'true' || github.event_name != 'pull_request'
754-
runs-on: ubuntu-20.04
754+
runs-on: ubuntu-24.04
755755
timeout-minutes: 10
756756
strategy:
757757
fail-fast: false
@@ -799,7 +799,7 @@ jobs:
799799
always() &&
800800
needs.job_build.result == 'success'
801801
needs: [job_get_metadata, job_build]
802-
runs-on: ubuntu-20.04-large-js
802+
runs-on: ubuntu-24.04-large-js
803803
timeout-minutes: 15
804804
outputs:
805805
matrix: ${{ steps.matrix.outputs.matrix }}
@@ -860,7 +860,7 @@ jobs:
860860
if:
861861
always() && needs.job_e2e_prepare.result == 'success' && needs.job_e2e_prepare.outputs.matrix != '{"include":[]}'
862862
needs: [job_get_metadata, job_build, job_e2e_prepare]
863-
runs-on: ubuntu-22.04
863+
runs-on: ubuntu-24.04
864864
timeout-minutes: 15
865865
env:
866866
# We just use a dummy DSN here, only send to the tunnel anyhow
@@ -979,7 +979,7 @@ jobs:
979979
needs.job_e2e_prepare.outputs.matrix-optional != '{"include":[]}' && (github.event_name != 'pull_request' ||
980980
github.event.pull_request.head.repo.full_name == github.repository) && github.actor != 'dependabot[bot]'
981981
needs: [job_get_metadata, job_build, job_e2e_prepare]
982-
runs-on: ubuntu-20.04
982+
runs-on: ubuntu-24.04
983983
timeout-minutes: 15
984984
env:
985985
E2E_TEST_AUTH_TOKEN: ${{ secrets.E2E_TEST_AUTH_TOKEN }}
@@ -1099,7 +1099,7 @@ jobs:
10991099
]
11001100
# Always run this, even if a dependent job failed
11011101
if: always()
1102-
runs-on: ubuntu-20.04
1102+
runs-on: ubuntu-24.04
11031103
steps:
11041104
- name: Check for failures
11051105
if: contains(needs.*.result, 'failure')

.github/workflows/canary.yml

+2-2
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-20.04
30+
runs-on: ubuntu-24.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-20.04
57+
runs-on: ubuntu-24.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

+1-1
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-20.04
24+
runs-on: ubuntu-24.04
2525
steps:
2626
- uses: actions/checkout@v4
2727

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

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

.github/workflows/external-contributors.yml

+1-1
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-20.04
15+
runs-on: ubuntu-24.04
1616
if: |
1717
github.event.pull_request.merged == true
1818
&& github.event.pull_request.author_association != 'COLLABORATOR'

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ concurrency:
2323

2424
jobs:
2525
flaky-detector:
26-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-24.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

+1-1
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-20.04
20+
runs-on: ubuntu-24.04
2121
permissions:
2222
pull-requests: write
2323
contents: write

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

+1-1
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-20.04
15+
runs-on: ubuntu-24.04
1616
name: 'Notify issues'
1717
steps:
1818
- name: Get version

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

+1-1
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-20.04
16+
runs-on: ubuntu-24.04
1717
name: 'Add size-limit info to release'
1818

1919
steps:

.github/workflows/release.yml

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

dev-packages/node-integration-tests/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"knex": "^2.5.1",
5555
"lru-memoizer": "2.3.0",
5656
"mongodb": "^3.7.3",
57-
"mongodb-memory-server-global": "^7.6.3",
57+
"mongodb-memory-server-global": "^10.1.4",
5858
"mongoose": "^5.13.22",
5959
"mysql": "^2.18.1",
6060
"mysql2": "^3.11.3",

0 commit comments

Comments
 (0)