From 4fe0b6b611793e20348316655cbec7b81007f5fe Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Sun, 1 Nov 2026 04:04:15 +0100 Subject: [PATCH] ci: upload the standalone build's server source maps too --- .github/workflows/standalone-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/standalone-release.yml b/.github/workflows/standalone-release.yml index 164b9e81e..bd4d55126 100644 --- a/.github/workflows/standalone-release.yml +++ b/.github/workflows/standalone-release.yml @@ -48,8 +48,10 @@ jobs: BULWARK_SOURCE_MAPS: "1" run: npm run build + # .next/server holds the server chunks' maps; standalone copies the + # chunks only. It doesn't ship, but its maps are needed for server frames. - name: Move source maps out of the build - run: node scripts/sourcemaps.mjs collect --out sourcemaps .next/static .next/standalone + run: node scripts/sourcemaps.mjs collect --out sourcemaps .next/static .next/standalone .next/server # Turbopack chunks were not checked for being the same on both # platforms, so each one uploads its own.