From 5c741aafd1317ab5f17a0e225eacd1948316e5cd Mon Sep 17 00:00:00 2001 From: Maria Hutt Date: Tue, 3 Nov 2026 11:14:12 -0800 Subject: [PATCH 1/2] chore(ci): build the site on Linux to catch wrong-case imports --- .github/workflows/CI.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3d3c22755f..1ff9dbb1a2 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -65,6 +65,17 @@ jobs: exit 1 fi - uses: ./.github/workflows/actions/check-translations + # Vercel builds on Linux, where imports are case-sensitive. An import with + # the wrong casing passes every check above, including on the macOS and + # Windows runners, and only fails when the site is built here. + - name: 🏗️ Build + run: | + npm run generate-markdown + npm run build:preview + env: + # The release notes page reads releases from the GitHub API, and the + # script fails in CI without a token. + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} cross-platform: name: Cross-platform on ${{ matrix.os }} From 15f9245894b0eb328b0d96baa7d411bee385b05e Mon Sep 17 00:00:00 2001 From: Maria Hutt Date: Wed, 4 Nov 2026 14:03:57 -0800 Subject: [PATCH 2/2] chore(ci): clarify why the build step catches wrong-case imports --- .github/workflows/CI.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1ff9dbb1a2..f893380efb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -65,9 +65,9 @@ jobs: exit 1 fi - uses: ./.github/workflows/actions/check-translations - # Vercel builds on Linux, where imports are case-sensitive. An import with - # the wrong casing passes every check above, including on the macOS and - # Windows runners, and only fails when the site is built here. + # Vercel builds on Linux, where imports are case-sensitive. No other check + # resolves the imports in doc pages, so an import with the wrong casing only + # fails when the site is built. - name: 🏗️ Build run: | npm run generate-markdown