diff --git a/.github/workflows/dispatch-renderless-theme-publish.yml b/.github/workflows/dispatch-renderless-theme-publish.yml index 822d910bb..3c69148ac 100644 --- a/.github/workflows/dispatch-renderless-theme-publish.yml +++ b/.github/workflows/dispatch-renderless-theme-publish.yml @@ -7,7 +7,7 @@ on: components: description: | 输入需要打包的模块名称,多个以英文逗号分隔, - 例如: `theme,renderless` + 例如: `theme,renderless,runtime` required: true type: string concurrency: @@ -80,6 +80,10 @@ jobs: if: contains(inputs.components, 'theme-mobile') == true run: pnpm build:themeMobile + - name: Run Build Runtime + if: contains(inputs.components, 'runtime') == true + run: pnpm build:runtime + - name: Publish run: | pnpm pub:all diff --git a/package.json b/package.json index 1797d234a..561800316 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,8 @@ "pub:themeMobile": "pnpm --filter=\"./packages/theme-mobile/dist/\" publish --no-git-checks --access=public", "pub:themeSaas": "pnpm --filter=\"./packages/theme-saas/dist\" publish --no-git-checks --access=public", "pub:renderless": "pnpm --filter=\"./packages/renderless/dist\" publish --no-git-checks --access=public", - "pub:all": "pnpm pub2 && pnpm pub3 && pnpm pub:theme && pnpm pub:themeMobile && pnpm pub:themeSaas && pnpm pub:renderless", + "pub:runtime": "pnpm --filter=\"./packages/vue-runtime/\" publish --no-git-checks --access=public", + "pub:all": "pnpm pub2 && pnpm pub3 && pnpm pub:theme && pnpm pub:themeMobile && pnpm pub:themeSaas && pnpm pub:renderless && pub:runtime", "pub:site": "pnpm -C examples/sites pub", "// ---------- 自动化发测试包 ----------": "", "auto-build-pub": "pnpm -C internals/automate auto-build-pub",