From 4b17c6e70f45d7d44f42874fb4b1c326690522d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Fri, 13 Nov 2026 14:35:57 +0100 Subject: [PATCH] ci(bundle-size): read prerendered content at the checked-out commit --- .github/workflows/bundle-size.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/bundle-size.yml b/.github/workflows/bundle-size.yml index 3ceed34..c729486 100644 --- a/.github/workflows/bundle-size.yml +++ b/.github/workflows/bundle-size.yml @@ -41,6 +41,8 @@ jobs: env: # The content snapshot confirms its commit with GitHub, so both sides ship one. GITHUB_TOKEN: ${{ github.token }} + # Prerendered pages read content from GitHub at this ref; the default, `/merge`, is not one. + VERCEL_GIT_COMMIT_REF: ${{ matrix.target == 'base' && github.event.pull_request.base.sha || github.sha }} # The analysis build peaks around 5.5 GB, above Node's default heap. NODE_OPTIONS: --max-old-space-size=8192 NUXT_TELEMETRY_DISABLED: 1