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 }} diff --git a/docs/api/button.mdx b/docs/api/button.mdx index 0a3c4d2d5c..e8b37d5fdc 100644 --- a/docs/api/button.mdx +++ b/docs/api/button.mdx @@ -25,7 +25,7 @@ Buttons provide a clickable element, which can be used in forms, or anywhere tha ## Basic Usage {/* #basic-usage */} -import Basic from '@site/static/usage/v9/button/basic/index.mdx'; +import Basic from '@site/static/usage/v9/Button/basic/index.mdx';