Skip to content

🎥 Make videos programmatically with React

Parallelize template publishing

Jonny Burger67c552ef7f3f
diff --git a/packages/it-tests/src/templates/publish.ts b/packages/it-tests/src/templates/publish.ts
index 7c41ed4330..b93028e9c7 100644
--- a/packages/it-tests/src/templates/publish.ts
+++ b/packages/it-tests/src/templates/publish.ts
@@ -83,6 +83,4 @@ const publish = async (template: MinimalTemplate) => {
await $`git push origin ${defaultBranch.trim()}`.cwd(workingDir);
};
-for (const template of templates) {
- await publish(template);
-}
+await Promise.all(templates.map((template) => publish(template)));