diff --git a/.github/workflows/build-errors-check.yml b/.github/workflows/build-errors-check.yml new file mode 100644 index 00000000..b936fb43 --- /dev/null +++ b/.github/workflows/build-errors-check.yml @@ -0,0 +1,26 @@ +name: Check Build Errors + +on: + pull_request: + branches: + - main # Run on PRs targeting the main branch + +jobs: + build-check: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Install Dependencies + run: npm install + + - name: Build + run: npm run build + + + + + diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 6498beb7..d774b5f0 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -7,8 +7,8 @@ const config: Config = { tagline: 'Learn how to build mobile, web and desktop apps incredibly fast - without sacrificing on app quality or features', url: 'https://docs.flutterflow.io', baseUrl: '/', - onBrokenLinks: 'log', - onBrokenMarkdownLinks: 'log', + onBrokenLinks: 'throw', + onBrokenMarkdownLinks: 'throw', favicon: 'logos/favicon.png', i18n: { defaultLocale: 'en',