fix: format generated docs before release verification
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user