Browse Source

build fix

codecalm 1 năm trước cách đây
mục cha
commit
3dd6b3b8bc
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 1 1
      .github/workflows/release-beta.yml
  2. 1 0
      package.json

+ 1 - 1
.github/workflows/release-beta.yml

@@ -55,7 +55,7 @@ jobs:
         uses: changesets/action@v1
         with:
           # Note: pnpm install after versioning is necessary to refresh lockfile
-          version: pnpm changeset version && pnpm install
+          version: pnpm run version
           publish: pnpm release
           commit: "chore: release"
           title: "[ci] release"

+ 1 - 0
package.json

@@ -13,6 +13,7 @@
     "svg-optimize": "svgo -f svg/brand --pretty",
     "unused-files": "node .build/unused-files.js",
     "release": "changeset publish",
+    "version": "changeset version && pnpm install",
     "svg-icons": "node .build/import-icons.js",
     "bundlewatch": "bundlewatch",
     "storybook": "start-storybook -p 6006",