ci(runtime): add runtime git action (#1667)

This commit is contained in:
ajaxzheng 2024-06-06 20:32:51 -07:00 committed by GitHub
parent bfeff2bed2
commit 90deb78ed6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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",