diff --git a/script/graphql/update-files.js b/script/graphql/update-files.js index ed51b443b5a0..ee721e725029 100755 --- a/script/graphql/update-files.js +++ b/script/graphql/update-files.js @@ -78,6 +78,9 @@ async function main () { updateStaticFile(previewsJson, path.join(graphqlStaticDir, 'previews.json')) updateStaticFile(upcomingChangesJson, path.join(graphqlStaticDir, 'upcoming-changes.json')) updateStaticFile(prerenderedObjects, path.join(graphqlStaticDir, 'prerendered-objects.json')) + + // Ensure the YAML linter runs before checkinging in files + execSync('npx prettier -w "**/*.{yml,yaml}"') } // get latest from github/github