chore: add build lark-vchart for pre-release and release action

This commit is contained in:
kkxxkk2019 2023-07-10 11:49:33 +08:00 committed by Weixing Zhang
parent 168be9e7c1
commit 2c17297e09
5 changed files with 19 additions and 2 deletions

View File

@ -46,6 +46,11 @@ jobs:
- name: Build packages
run: node common/scripts/install-run-rush.js build --only tag:package
- name: Build lark-vchart
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: node common/scripts/install-run-rush.js build --only @visactor/lark-vchart
- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

View File

@ -40,6 +40,11 @@ jobs:
- name: Build packages
run: node common/scripts/install-run-rush.js build --only tag:package
- name: Build lark-vchart
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: node common/scripts/install-run-rush.js build --only @visactor/lark-vchart
- name: Run Bugserver
working-directory: ./packages/vchart
env:

View File

@ -67,6 +67,10 @@ function run() {
stdio: 'inherit',
shell: false,
});
spawnSync('sh', ['-c', `rush build --only @visactor/lark-vchart`], {
stdio: 'inherit',
shell: false,
});
// 3. publish to npm
spawnSync('sh', ['-c', `rush publish --publish --include-all --tag ${preReleaseType}`], {

View File

@ -27,6 +27,10 @@ function run() {
stdio: 'inherit',
shell: false,
});
spawnSync('sh', ['-c', `rush build --only @visactor/lark-vchart`], {
stdio: 'inherit',
shell: false,
});
// 3. publish to npm
spawnSync('sh', ['-c', 'rush publish --publish --include-all'], {

View File

@ -45,8 +45,7 @@
{
"packageName": "@visactor/lark-vchart",
"projectFolder": "packages/lark-vchart",
// "tags": ["package"],
"shouldPublish": false
"shouldPublish": true
},
{
"packageName": "@internal/bundler",