fix: iclude docs:build

This commit is contained in:
murat 2026-01-15 16:18:51 -06:00
parent 7bed9a32f3
commit bdd3529160
1 changed files with 2 additions and 0 deletions

View File

@ -10,9 +10,11 @@ npm test
if command -v rg >/dev/null 2>&1; then if command -v rg >/dev/null 2>&1; then
if git diff --cached --name-only | rg -q '^docs/'; then if git diff --cached --name-only | rg -q '^docs/'; then
npm run docs:validate-links npm run docs:validate-links
npm run docs:build
fi fi
else else
if git diff --cached --name-only | grep -Eq '^docs/'; then if git diff --cached --name-only | grep -Eq '^docs/'; then
npm run docs:validate-links npm run docs:validate-links
npm run docs:build
fi fi
fi fi