From 24abd46eb41a06ff14eea89c94100097874a17c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel?= Date: Thu, 22 Oct 2026 15:01:17 -0400 Subject: [PATCH 1/2] fix(ci): pin and reuse the docs validation CLI --- .github/workflows/docs.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 69bce6b8819..b427557e50b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,6 +12,7 @@ on: pull_request: branches: [main] paths: + - ".github/workflows/docs.yml" - "docs/**" - "DOCS_GUIDELINES.md" - "packages/core/schemas/**" @@ -22,6 +23,7 @@ on: push: branches: [main] paths: + - ".github/workflows/docs.yml" - "docs/**" - "DOCS_GUIDELINES.md" - "packages/core/schemas/**" @@ -52,12 +54,17 @@ jobs: - name: Check every CLI command is listed in the docs run: node scripts/check-docs-cli-commands.mjs + - name: Install Mint CLI + run: | + npm install --prefix "$RUNNER_TEMP/mint-cli" --no-save --no-package-lock mint@4.2.1096 + echo "$RUNNER_TEMP/mint-cli/node_modules/.bin" >> "$GITHUB_PATH" + - name: Validate build working-directory: docs - run: npx mint validate + run: mint validate - name: Check broken links working-directory: docs # --check-redirects also resolves every redirect destination, so a # restructure cannot leave a redirect pointing at a page it removed. - run: npx mint broken-links --check-redirects + run: mint broken-links --check-redirects From 7e21df92781e1b326e8d1ca9e4c4bec5fa33e10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel?= Date: Thu, 22 Oct 2026 15:32:49 -0400 Subject: [PATCH 2/2] fix(ci): pin and reuse the docs validation CLI --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b427557e50b..32cb4a7a355 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -40,7 +40,7 @@ jobs: validate: name: Validate docs runs-on: ubuntu-latest - timeout-minutes: 5 + timeout-minutes: 10 steps: - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4