From c875131deca3cf0767796ce134deff37bea0514f Mon Sep 17 00:00:00 2001 From: "starslingdev[bot]" <248995740+starslingdev[bot]@users.noreply.github.com> Date: Sat, 17 Oct 2026 07:28:51 +0000 Subject: [PATCH] ci: move StarSling jobs to Ubuntu 26.04 (#11733) Co-authored-by: starslingdev[bot] <248995740+starslingdev[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 6 +++--- .github/workflows/claude.yml | 2 +- .github/workflows/e2e.yml | 9 ++++++--- .github/workflows/preview.yml | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 220eb9d3a3..abc776efe5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ env: jobs: lint: - runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-24.04' || 'ubuntu-24.04' }} + runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-26.04' || 'ubuntu-24.04' }} permissions: contents: read concurrency: @@ -91,7 +91,7 @@ jobs: run: pnpm lint:types typecheck: - runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-24.04' || 'ubuntu-24.04' }} + runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-26.04' || 'ubuntu-24.04' }} permissions: contents: read concurrency: @@ -126,7 +126,7 @@ jobs: run: pnpm typecheck:dist test: - runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-24.04' || 'ubuntu-24.04' }} + runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-26.04' || 'ubuntu-24.04' }} permissions: contents: read timeout-minutes: 30 diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 26c3c6347a..a7fe951d4c 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -21,7 +21,7 @@ jobs: (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude') && contains(fromJSON('["MEMBER", "OWNER", "COLLABORATOR"]'), github.event.review.author_association)) || (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')) && contains(fromJSON('["MEMBER", "OWNER", "COLLABORATOR"]'), github.event.issue.author_association)) ) - runs-on: ${{ github.repository == 'better-auth/better-auth' && 'starsling-ubuntu-24.04' || 'ubuntu-24.04' }} + runs-on: ${{ github.repository == 'better-auth/better-auth' && 'starsling-ubuntu-26.04' || 'ubuntu-24.04' }} permissions: contents: write pull-requests: write diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 46ca823367..a4ed3c77f8 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -20,7 +20,7 @@ jobs: smoke: name: Smoke test (${{ matrix.node-version }}) timeout-minutes: 30 - runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-24.04' || 'ubuntu-24.04' }} + runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-26.04' || 'ubuntu-24.04' }} strategy: fail-fast: false matrix: @@ -81,11 +81,14 @@ jobs: integration: name: Integration test timeout-minutes: 60 - runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-24.04' || 'ubuntu-24.04' }} + runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-26.04' || 'ubuntu-24.04' }} permissions: contents: read env: COMPOSE_SERVICES: postgres + # Playwright 1.58 has no Ubuntu 26.04 browser build (support starts in 1.61), so use the + # Ubuntu 24.04 build. Remove this once Playwright is 1.61 or later. + PLAYWRIGHT_HOST_PLATFORM_OVERRIDE: ubuntu24.04-x64 steps: - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 with: @@ -153,7 +156,7 @@ jobs: run: docker compose down --volumes --remove-orphans adapter-integration: name: ${{ matrix.packages }} Integration Test - runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-24.04' || 'ubuntu-24.04' }} + runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-26.04' || 'ubuntu-24.04' }} timeout-minutes: 30 permissions: contents: read diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index f6cb84962b..19e9e78614 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -14,7 +14,7 @@ concurrency: jobs: build: - runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-24.04' || 'ubuntu-24.04' }} + runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'better-auth/better-auth' || github.event_name != 'pull_request' && github.repository == 'better-auth/better-auth') && 'starsling-ubuntu-26.04' || 'ubuntu-24.04' }} permissions: contents: read