diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4af5aeefb..c7a83d8a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -145,7 +145,9 @@ jobs: - run: npm run test:dependency-isolation e2e: - runs-on: ubuntu-latest + # Pinned: the Playwright version in package.json cannot install its + # browser on ubuntu-26.04, which ubuntu-latest now resolves to. + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/update-snapshots.yml b/.github/workflows/update-snapshots.yml index 182f01a90..775fb4a67 100644 --- a/.github/workflows/update-snapshots.yml +++ b/.github/workflows/update-snapshots.yml @@ -24,7 +24,8 @@ jobs: (github.event.issue.pull_request && contains(github.event.comment.body, '/update-snapshots') && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)) - runs-on: ubuntu-latest + # Pinned to the same image as the e2e job in ci.yml + runs-on: ubuntu-24.04 steps: - name: Get PR branch if: github.event_name == 'issue_comment'