An open source design system that's fully customizable and agent ready
TypeScript
ci: move all workflows off ubuntu-latest to unblock runner backlog (#4708)
Cindy Zhang5392b8802e24
diff --git a/.github/workflows/a11y-weekly.yml b/.github/workflows/a11y-weekly.ymlindex a49577fa2e..846d82beff 100644--- a/.github/workflows/a11y-weekly.yml+++ b/.github/workflows/a11y-weekly.yml@@ -37,7 +37,7 @@ concurrency:jobs:# Build Storybook once and audit the full story indexaudit:- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: readoutputs:@@ -117,7 +117,7 @@ jobs:report-issue:needs: [audit]if: ${{ !cancelled() && needs.audit.outputs.status != 'clean' }}- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:issues: writeactions: read # download-artifact from this rundiff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 7f2ea0aeb9..1a0a288d8b 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -23,7 +23,7 @@ jobs:# Detect docsite-only changes — lets docsite PRs skip heavy jobscheck-scope:if: github.event_name == 'pull_request'- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:contents: readoutputs:@@ -53,7 +53,7 @@ jobs:fi# Docsite data extraction tests — always runs, fast (~2s)docsite-test:- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: readsteps:@@ -75,7 +75,7 @@ jobs:check-components:needs: [check-scope]if: github.event_name == 'pull_request' && needs.check-scope.outputs.docsite_only != 'true'- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:contents: readoutputs:@@ -107,7 +107,7 @@ jobs:# Run tests (parallel with build)test:needs: [check-scope]- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: readsteps:@@ -148,7 +148,7 @@ jobs:# `build` join below folds their results into the historical check name.build-storybook:needs: [check-scope]- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: readoutputs:@@ -291,7 +291,7 @@ jobs:build-sandbox:needs: [check-scope]if: github.event_name == 'pull_request' && needs.check-scope.outputs.docsite_only != 'true'- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: readoutputs:@@ -364,7 +364,7 @@ jobs:build:needs: [build-storybook, build-sandbox]if: ${{ !cancelled() && needs.build-storybook.result != 'skipped' }}- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions: {}steps:- name: Assert parallel builds succeeded@@ -392,7 +392,7 @@ jobs:pr-a11y:needs: [build-storybook, check-components]if: github.event_name == 'pull_request' && needs.check-components.outputs.has_components == 'true'- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: readsteps:@@ -462,7 +462,7 @@ jobs:pr-rtl:needs: [build-storybook]if: github.event_name == 'pull_request'- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armcontinue-on-error: truepermissions:contents: readdiff --git a/.github/workflows/cleanup-previews.yml b/.github/workflows/cleanup-previews.ymlindex 7607aaf0c6..ffa5b0d1d1 100644--- a/.github/workflows/cleanup-previews.yml+++ b/.github/workflows/cleanup-previews.yml@@ -54,7 +54,7 @@ jobs:if: >-github.event_name != 'workflow_run' ||github.event.workflow_run.event == 'pull_request'- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:contents: writepull-requests: readdiff --git a/.github/workflows/cli-smoke-test.yml b/.github/workflows/cli-smoke-test.ymlindex 6e458a7629..5592b4507f 100644--- a/.github/workflows/cli-smoke-test.yml+++ b/.github/workflows/cli-smoke-test.yml@@ -19,7 +19,7 @@ concurrency:jobs:smoke-test:- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: readsteps:diff --git a/.github/workflows/codemod-verify.yml b/.github/workflows/codemod-verify.ymlindex 210675ed7d..ceeaa4e588 100644--- a/.github/workflows/codemod-verify.yml+++ b/.github/workflows/codemod-verify.yml@@ -27,7 +27,7 @@ concurrency:jobs:verify-codemods:- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: readpull-requests: writediff --git a/.github/workflows/compact-gh-pages.yml b/.github/workflows/compact-gh-pages.ymlindex 3937250b67..7345305f6b 100644--- a/.github/workflows/compact-gh-pages.yml+++ b/.github/workflows/compact-gh-pages.yml@@ -15,7 +15,7 @@ concurrency:jobs:compact:- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:contents: writesteps:diff --git a/.github/workflows/crowdin-download.yml b/.github/workflows/crowdin-download.ymlindex 9726b7cfd7..0b37290553 100644--- a/.github/workflows/crowdin-download.yml+++ b/.github/workflows/crowdin-download.yml@@ -26,7 +26,7 @@ concurrency:jobs:download:- runs-on: ubuntu-latest+ runs-on: 4-core-ubuntupermissions:contents: writepull-requests: writediff --git a/.github/workflows/crowdin-upload.yml b/.github/workflows/crowdin-upload.ymlindex 24271d7e27..7e29a7756b 100644--- a/.github/workflows/crowdin-upload.yml+++ b/.github/workflows/crowdin-upload.yml@@ -23,7 +23,7 @@ concurrency:jobs:upload:- runs-on: ubuntu-latest+ runs-on: 4-core-ubuntupermissions:contents: readsteps:diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.ymlindex af1e77707c..a0daeefc48 100644--- a/.github/workflows/deploy-preview.yml+++ b/.github/workflows/deploy-preview.yml@@ -36,7 +36,7 @@ jobs:deploy-preview:# Only for CI runs triggered by a pull request.if: github.event.workflow_run.event == 'pull_request'- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:contents: writeactions: readdiff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.ymlindex cd6f7bc43b..5b306bab37 100644--- a/.github/workflows/deploy.yml+++ b/.github/workflows/deploy.yml@@ -42,7 +42,7 @@ jobs:# Verify package.json exports match the source tree.# Fails if exports are stale — run `node scripts/sync-exports.js` locally to fix.sync-exports:- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:contents: readsteps:@@ -53,7 +53,7 @@ jobs:test:- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: readsteps:@@ -103,7 +103,7 @@ jobs:# handed to `deploy` as artifacts, so a broken test run never publishes —# test still gates the push, it just no longer serializes the build.build:- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: readsteps:@@ -188,7 +188,7 @@ jobs:deploy:needs: [test, build]if: always() && !cancelled() && needs.test.result == 'success' && needs.build.result == 'success'- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:contents: writesteps:diff --git a/.github/workflows/hardening-issue.yml b/.github/workflows/hardening-issue.ymlindex df330589dc..99e3db10e5 100644--- a/.github/workflows/hardening-issue.yml+++ b/.github/workflows/hardening-issue.yml@@ -18,7 +18,7 @@ permissions: {}jobs:create-hardening-issues:if: github.event.pull_request.merged == true- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:issues: writecontents: readdiff --git a/.github/workflows/internal-registry.yml b/.github/workflows/internal-registry.ymlindex 73dbc1b1da..21a2a7aff6 100644--- a/.github/workflows/internal-registry.yml+++ b/.github/workflows/internal-registry.yml@@ -18,7 +18,7 @@ permissions: {}jobs:dependency-check:- runs-on: ubuntu-latest+ runs-on: 4-core-ubuntupermissions:contents: readid-token: writediff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex 0f52270e3f..22d7f16654 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -12,7 +12,7 @@ permissions: {}jobs:lint:- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: readdiff --git a/.github/workflows/npm-canary-cleanup.yml b/.github/workflows/npm-canary-cleanup.ymlindex f43fafc40a..75d1d81ea4 100644--- a/.github/workflows/npm-canary-cleanup.yml+++ b/.github/workflows/npm-canary-cleanup.yml@@ -40,7 +40,7 @@ permissions:jobs:prune:name: Prune canary versions- runs-on: ubuntu-latest+ runs-on: ubuntu-slimsteps:- name: Checkoutuses: actions/checkout@v7diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.ymlindex 531e12afad..22aa81690d 100644--- a/.github/workflows/pr-comment.yml+++ b/.github/workflows/pr-comment.yml@@ -26,7 +26,7 @@ jobs:comment:# Only for CI runs triggered by a pull request.if: github.event.workflow_run.event == 'pull_request'- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:pull-requests: writeactions: readdiff --git a/.github/workflows/prune-branches.yml b/.github/workflows/prune-branches.ymlindex de17568965..e4758cdc41 100644--- a/.github/workflows/prune-branches.yml+++ b/.github/workflows/prune-branches.yml@@ -13,7 +13,7 @@ permissions: {}jobs:prune:- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:contents: writepull-requests: readdiff --git a/.github/workflows/redeploy-preview.yml b/.github/workflows/redeploy-preview.ymlindex 416f483a6e..d352fa4a20 100644--- a/.github/workflows/redeploy-preview.yml+++ b/.github/workflows/redeploy-preview.yml@@ -24,7 +24,7 @@ concurrency:jobs:redeploy-preview:- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: writepull-requests: readdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 9e6b6c9017..40f6dcce68 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -58,7 +58,7 @@ jobs:# Stable publish — manual dispatch only. Publishes the `latest` dist-tag.publish:if: github.event_name == 'workflow_dispatch'- runs-on: ubuntu-latest+ runs-on: 4-core-ubuntu# Dedicated, non-cancelling group. Independent of the canary group so a# canary push can never cancel or queue ahead of a stable release.concurrency:@@ -117,7 +117,7 @@ jobs:canary:name: Publish canary to npmif: github.event_name == 'push'- runs-on: ubuntu-latest+ runs-on: 4-core-ubuntu# Dedicated group, cancel-in-progress so a newer main push supersedes an# in-flight canary. Independent of the stable group, so this can never# cancel or starve a stable dispatch.diff --git a/.github/workflows/rerequest-review-on-update.yml b/.github/workflows/rerequest-review-on-update.ymlindex d7e5d7b15e..213dbdbe72 100644--- a/.github/workflows/rerequest-review-on-update.yml+++ b/.github/workflows/rerequest-review-on-update.yml@@ -23,7 +23,7 @@ jobs:rerequest-review:name: Re-request blocking reviewersif: github.event.pull_request.draft == false- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:pull-requests: writesteps:diff --git a/.github/workflows/review-clear.yml b/.github/workflows/review-clear.ymlindex 9e42b5b62e..ba45b4371a 100644--- a/.github/workflows/review-clear.yml+++ b/.github/workflows/review-clear.yml@@ -31,7 +31,7 @@ permissions: {}jobs:clear:if: github.event.workflow_run.event == 'pull_request_review'- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:pull-requests: writestatuses: writediff --git a/.github/workflows/review-signal.yml b/.github/workflows/review-signal.ymlindex f3664e66db..fd974d0b15 100644--- a/.github/workflows/review-signal.yml+++ b/.github/workflows/review-signal.yml@@ -95,7 +95,7 @@ jobs:github.event_name == 'pull_request_target'|| github.event_name == 'workflow_dispatch'name: Flag review signals- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:pull-requests: writecontents: read@@ -550,7 +550,7 @@ jobs:review-anchor:if: github.event_name == 'pull_request_review' && github.event.review.state == 'approved'name: Anchor review-clear chain- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions: {}steps:- name: Note approvaldiff --git a/.github/workflows/vibe-screenshots.yml b/.github/workflows/vibe-screenshots.ymlindex 24443bc85c..cfebf3e7a2 100644--- a/.github/workflows/vibe-screenshots.yml+++ b/.github/workflows/vibe-screenshots.yml@@ -34,7 +34,7 @@ permissions: {}jobs:build-previews:name: Build Previews- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: readsteps:@@ -68,7 +68,7 @@ jobs:screenshot:name: Capture Screenshotsneeds: build-previews- runs-on: ubuntu-latest+ runs-on: 2-core-ubuntu-armpermissions:contents: readsteps:@@ -111,7 +111,7 @@ jobs:name: Deploy Screenshots to gh-pagesneeds: screenshotif: ${{ github.event.inputs.deploy_to_gh_pages != 'false' }}- runs-on: ubuntu-latest+ runs-on: ubuntu-slimpermissions:contents: writesteps: