fix: format generated docs before release verification
Quality / quality (ubuntu-latest) (push) Failing after 21s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-03 02:32:11 +05:30
parent 4550a11460
commit e8f630f12d
+3
View File
@@ -351,6 +351,9 @@ function publish(all: PackageInfo[], version: string) {
run(npm, ["install", "--package-lock-only", "--ignore-scripts"], docsRoot);
run(process.execPath, ["run", "docs:generate"], docsRoot);
run(process.execPath, ["run", "docs:generate"], docsRoot);
// Generators also refresh ignored route/type artifacts. Format after
// generation so the subsequent format check validates the final tree.
run(process.execPath, ["run", "format"], docsRoot);
run(process.execPath, ["run", "check"], docsRoot);
run(process.execPath, ["run", "build"], docsRoot);
verifyDocs(all, version);