Skip to content

Commit c4b0cf5

Browse files
t3dotggclaude
andcommitted
ci(release): hosted web alias job checks out 3 files, not the repo
deploy_web only runs `vercel alias set` with an explicit deployment URL and scope, but it checked out the whole workspace first. Checkout took a median 10s of a 19s job. Check out only what setup-ci-deps reads with install: false, the same three paths publish_cli already uses at the same ref. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent b24959d commit c4b0cf5

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,13 +1239,16 @@ jobs:
12391239
T3CODE_WEB_NIGHTLY_DOMAIN: ${{ vars.T3CODE_WEB_NIGHTLY_DOMAIN }}
12401240
VERCEL_TEAM_SLUG: ${{ vars.VERCEL_TEAM_SLUG }}
12411241
steps:
1242+
# Only what setup-ci-deps reads to install vp and Node. The alias call
1243+
# names its deployment and scope, so it reads nothing else from the repo.
12421244
- name: Checkout
12431245
uses: actions/checkout@v6
12441246
with:
12451247
ref: ${{ needs.preflight.outputs.ref }}
12461248
sparse-checkout: |
1247-
/*
1248-
!/.repos/
1249+
/.github/actions/setup-ci-deps/
1250+
/package.json
1251+
/pnpm-workspace.yaml
12491252
sparse-checkout-cone-mode: false
12501253

12511254
- name: Setup Vite+

0 commit comments

Comments
 (0)