chore: switch runners to warpbuild (#4175)

This commit is contained in:
Chris Arderne
2026-07-07 11:24:17 +01:00
committed by GitHub
parent f4af13981a
commit 018f445467
32 changed files with 52 additions and 47 deletions
+5
View File
@@ -0,0 +1,5 @@
self-hosted-runner:
labels:
- warp-ubuntu-*
- warp-macos-*
- warp-windows-*
+1 -1
View File
@@ -18,7 +18,7 @@ concurrency:
jobs:
release-pr:
name: Create Release PR
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions:
contents: write
pull-requests: write
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
vars.ENABLE_CLAUDE_CODE != 'false' &&
github.event.pull_request.draft == false &&
github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions:
contents: read
pull-requests: write
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
vars.ENABLE_CLAUDE_CODE != 'false' &&
github.event.pull_request.draft == false &&
github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions:
contents: read
pull-requests: write
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
)
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions:
contents: write
pull-requests: write
+1 -1
View File
@@ -8,7 +8,7 @@ permissions:
jobs:
code-quality:
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
steps:
- name: ⬇️ Checkout repo
@@ -29,7 +29,7 @@ jobs:
# the Dependabot alert/summary notifiers — e.g. forks/mirrors that lack the
# DEPENDABOT_ALERTS_TOKEN / SLACK_BOT_TOKEN secrets. Defaults to enabled.
if: ${{ vars.ENABLE_DEPENDABOT_ALERTS != 'false' }}
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
environment: dependabot-summary
env:
SEVERITY: ${{ inputs.severity || 'critical' }}
@@ -23,7 +23,7 @@ jobs:
# the Dependabot alert/summary notifiers — e.g. forks/mirrors that lack the
# DEPENDABOT_ALERTS_TOKEN / SLACK_BOT_TOKEN secrets. Defaults to enabled.
if: ${{ vars.ENABLE_DEPENDABOT_ALERTS != 'false' }}
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
environment: dependabot-summary
env:
# Severities surface in the actions list when their remaining TTR drops
+1 -1
View File
@@ -20,7 +20,7 @@ permissions:
jobs:
check-broken-links:
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
defaults:
run:
working-directory: ./docs
+1 -1
View File
@@ -37,7 +37,7 @@ on:
jobs:
e2eAuthFull:
name: "🛡️ E2E Auth Tests (full)"
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-8x
timeout-minutes: 30
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
+1 -1
View File
@@ -14,7 +14,7 @@ on:
jobs:
e2eTests:
name: "🧪 E2E Tests: Webapp"
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-8x
timeout-minutes: 20
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
os: [warp-ubuntu-latest-x64-4x, warp-windows-latest-x64-4x]
package-manager: ["npm", "pnpm"]
steps:
- name: ⬇️ Checkout repo
+2 -2
View File
@@ -28,7 +28,7 @@ env:
jobs:
lint-and-test:
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions:
contents: read
steps:
@@ -77,7 +77,7 @@ jobs:
((github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) ||
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch')
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions:
contents: read
packages: write
+2 -2
View File
@@ -15,7 +15,7 @@ permissions:
jobs:
changes:
name: Detect changes
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
outputs:
code: ${{ steps.code_filter.outputs.code }}
typecheck_self: ${{ steps.filter.outputs.typecheck_self }}
@@ -168,7 +168,7 @@ jobs:
- e2e
- sdk-compat
if: always()
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
steps:
- name: Verify all checks
run: |
+1 -1
View File
@@ -20,7 +20,7 @@ permissions: {}
jobs:
dispatch:
name: Dispatch preview-deploy to cloud
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
# label added -> create
# new commit while labeled -> update
# label removed / PR closed -> destroy
+1 -1
View File
@@ -42,7 +42,7 @@ permissions:
jobs:
publish:
name: Build and publish previews
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-8x
if: github.repository == 'triggerdotdev/trigger.dev'
steps:
- name: ⬇️ Checkout repo
+1 -1
View File
@@ -15,7 +15,7 @@ concurrency:
jobs:
publish:
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
steps:
- name: 📥 Checkout tagged commit
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
+1 -1
View File
@@ -38,7 +38,7 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
env:
PRISMA_ENGINES_CHECKSUM_IGNORE_MISSING: 1
outputs:
+2 -2
View File
@@ -25,7 +25,7 @@ permissions:
jobs:
# check-branch:
# runs-on: ubuntu-latest
# runs-on: warp-ubuntu-latest-x64-2x
# steps:
# - name: Fail if re2-prod-* is pushed from a non-main branch
# if: startsWith(github.ref_name, 're2-prod-') && github.base_ref != 'main'
@@ -37,7 +37,7 @@ jobs:
strategy:
matrix:
package: [supervisor]
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
env:
DOCKER_BUILDKIT: "1"
steps:
+1 -1
View File
@@ -33,7 +33,7 @@ jobs:
strategy:
matrix:
package: [coordinator, docker-provider, kubernetes-provider]
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-8x
env:
DOCKER_BUILDKIT: "1"
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
+1 -1
View File
@@ -128,7 +128,7 @@ jobs:
name: 📣 Dispatch main image
needs: [publish-webapp]
if: github.repository == (vars.MAIN_IMAGE_DISPATCH_REPO || 'triggerdotdev/trigger.dev') && github.event_name == 'push' && startsWith(github.ref_name, vars.MAIN_IMAGE_DISPATCH_REF_PREFIX || 'main')
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions: {}
steps:
- name: Build dispatch payload
+2 -2
View File
@@ -23,7 +23,7 @@ env:
jobs:
lint-and-test:
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions:
contents: read
steps:
@@ -68,7 +68,7 @@ jobs:
# on the owner's charts namespace. Defaults to enabled; the lint-and-test
# job above always runs regardless.
if: ${{ vars.ENABLE_HELM_PRERELEASE != 'false' }}
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions:
contents: write # for gh-release
packages: write
+5 -5
View File
@@ -32,7 +32,7 @@ concurrency:
jobs:
show-release-summary:
name: 📋 Release Summary
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions: {}
if: |
github.repository == 'triggerdotdev/trigger.dev' &&
@@ -48,7 +48,7 @@ jobs:
release:
name: 🚀 Release npm packages
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-8x
environment: npm-publish
permissions:
contents: write
@@ -211,7 +211,7 @@ jobs:
name: 🔗 Update release Docker link
needs: [release, publish-docker]
if: needs.release.outputs.published == 'true'
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions:
contents: write
packages: read
@@ -253,7 +253,7 @@ jobs:
name: 📝 Dispatch changelog PR
needs: [release, update-release]
if: needs.release.outputs.published == 'true' && needs.release.outputs.is_prerelease != 'true'
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions: {}
steps:
- uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
@@ -266,7 +266,7 @@ jobs:
# The prerelease job needs to be on the same workflow file due to a limitation related to how npm verifies OIDC claims.
prerelease:
name: 🧪 Prerelease
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-8x
environment: npm-publish
permissions:
contents: read
+4 -4
View File
@@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [warp-ubuntu-latest-x64-4x]
node: ["20.20", "22.23", "24.18", "26.4"]
steps:
@@ -54,7 +54,7 @@ jobs:
bun-compat:
name: "Bun Runtime"
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-4x
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
@@ -96,7 +96,7 @@ jobs:
deno-compat:
name: "Deno Runtime"
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-4x
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
@@ -142,7 +142,7 @@ jobs:
cloudflare-compat:
name: "Cloudflare Workers"
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-4x
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
+1 -1
View File
@@ -33,7 +33,7 @@ concurrency:
jobs:
scan:
name: Scan
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions:
contents: read
packages: read # pull the image from GHCR
+1 -1
View File
@@ -8,7 +8,7 @@ permissions:
jobs:
typecheck:
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-8x
steps:
- name: ⬇️ Checkout repo
+2 -2
View File
@@ -14,7 +14,7 @@ on:
jobs:
unitTests:
name: "🧪 Unit Tests: Internal"
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-8x
strategy:
# one flaky shard shouldn't cancel its siblings - lets us re-run only the failed shard
fail-fast: false
@@ -131,7 +131,7 @@ jobs:
name: "📊 Merge Reports"
if: ${{ !cancelled() }}
needs: [unitTests]
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
+2 -2
View File
@@ -14,7 +14,7 @@ on:
jobs:
unitTests:
name: "🧪 Unit Tests: Packages"
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-4x
strategy:
# one flaky shard shouldn't cancel its siblings - lets us re-run only the failed shard
fail-fast: false
@@ -130,7 +130,7 @@ jobs:
name: "📊 Merge Reports"
if: ${{ !cancelled() }}
needs: [unitTests]
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
+2 -2
View File
@@ -14,7 +14,7 @@ on:
jobs:
unitTests:
name: "🧪 Unit Tests: Webapp"
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-8x
strategy:
# one flaky shard shouldn't cancel its siblings - lets us re-run only the failed shard
fail-fast: false
@@ -139,7 +139,7 @@ jobs:
name: "📊 Merge Reports"
if: ${{ !cancelled() }}
needs: [unitTests]
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
+2 -2
View File
@@ -8,7 +8,7 @@ permissions: {}
jobs:
check-vouch:
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions:
contents: read
pull-requests: write # auto-close unvouched PRs
@@ -34,7 +34,7 @@ jobs:
github.event.pull_request.user.login != 'devin-ai-integration[bot]' &&
github.event.pull_request.user.login != 'dependabot[bot]' &&
github.event.pull_request.user.login != 'github-actions[bot]'
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
steps:
- name: Close non-draft PR
env:
+1 -1
View File
@@ -10,7 +10,7 @@ permissions:
jobs:
manage:
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
if: >-
contains(github.event.comment.body, 'vouch') ||
contains(github.event.comment.body, 'denounce') ||
+2 -2
View File
@@ -24,7 +24,7 @@ concurrency:
jobs:
actionlint:
name: Actionlint
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions:
contents: read
steps:
@@ -43,7 +43,7 @@ jobs:
# variable to 'false' to skip this job where code scanning isn't available;
# leave it unset (the default) to run the scan.
if: ${{ vars.ENABLE_WORKFLOW_SECURITY_SCAN != 'false' }}
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-2x
permissions:
security-events: write # Upload SARIF to GitHub Security tab
contents: read # Read workflow files for analysis