浏览代码

Add changeset and format script to tests

Loris Leiva 1 年之前
父节点
当前提交
ec738a96da
共有 2 个文件被更改,包括 8 次插入0 次删除
  1. 5 0
      .changeset/hot-suns-marry.md
  2. 3 0
      scripts/snapshot.mjs

+ 5 - 0
.changeset/hot-suns-marry.md

@@ -0,0 +1,5 @@
+---
+"create-solana-program": patch
+---
+
+Improve generated CI from feedback

+ 3 - 0
scripts/snapshot.mjs

@@ -82,6 +82,9 @@ for (const projectName of projects) {
   // Lint and test clients.
   for (const client of CLIENTS) {
     if (`clients:${client}:test` in pkg.scripts) {
+      await executeStep(`format ${client} client`, async () => {
+        await $`pnpm clients:${client}:format`;
+      });
       await executeStep(`lint ${client} client`, async () => {
         await $`pnpm clients:${client}:lint`;
       });