forked from opentiny/tiny-vue
ci(runtime): add runtime git action (#1667)
This commit is contained in:
parent
bfeff2bed2
commit
90deb78ed6
|
@ -7,7 +7,7 @@ on:
|
||||||
components:
|
components:
|
||||||
description: |
|
description: |
|
||||||
输入需要打包的模块名称,多个以英文逗号分隔,
|
输入需要打包的模块名称,多个以英文逗号分隔,
|
||||||
例如: `theme,renderless`
|
例如: `theme,renderless,runtime`
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
concurrency:
|
concurrency:
|
||||||
|
@ -80,6 +80,10 @@ jobs:
|
||||||
if: contains(inputs.components, 'theme-mobile') == true
|
if: contains(inputs.components, 'theme-mobile') == true
|
||||||
run: pnpm build:themeMobile
|
run: pnpm build:themeMobile
|
||||||
|
|
||||||
|
- name: Run Build Runtime
|
||||||
|
if: contains(inputs.components, 'runtime') == true
|
||||||
|
run: pnpm build:runtime
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: |
|
run: |
|
||||||
pnpm pub:all
|
pnpm pub:all
|
||||||
|
|
|
@ -80,7 +80,8 @@
|
||||||
"pub:themeMobile": "pnpm --filter=\"./packages/theme-mobile/dist/\" publish --no-git-checks --access=public",
|
"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: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: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",
|
"pub:site": "pnpm -C examples/sites pub",
|
||||||
"// ---------- 自动化发测试包 ----------": "",
|
"// ---------- 自动化发测试包 ----------": "",
|
||||||
"auto-build-pub": "pnpm -C internals/automate auto-build-pub",
|
"auto-build-pub": "pnpm -C internals/automate auto-build-pub",
|
||||||
|
|
Loading…
Reference in New Issue