diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3d3c22755f..f893380efb 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. 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 + 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 }}