Skip to content

Commit ded540f

Browse files
committed
feat: change github actions&scripts
1 parent 8cb79c9 commit ded540f

22 files changed

+104
-338
lines changed

.github/workflows/bug-server.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/hotfix-release.yml

Lines changed: 0 additions & 124 deletions
This file was deleted.
File renamed without changes.

.github/workflows/pre-release.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
id: semver_parser
3838
uses: xile611/read-package-version-action@main
3939
with:
40-
path: packages/vchart
40+
path: packages/vmind
4141
semver_string: ${{ github.ref_name }}
4242
semver_pattern: '^pre-release/(.*)$' # ^v?(.*)$ by default
4343

@@ -49,16 +49,6 @@ jobs:
4949
NODE_OPTIONS: '--max_old_space_size=4096'
5050
run: node common/scripts/install-run-rush.js build --only tag:package
5151

52-
- name: Build lark-vchart
53-
env:
54-
NODE_OPTIONS: '--max_old_space_size=4096'
55-
run: node common/scripts/install-run-rush.js build --only @visactor/lark-vchart
56-
57-
- name: Build wx-vchart
58-
env:
59-
NODE_OPTIONS: '--max_old_space_size=4096'
60-
run: node common/scripts/install-run-rush.js build --only @visactor/wx-vchart
61-
6252
- name: Publish to npm
6353
env:
6454
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
@@ -72,7 +62,7 @@ jobs:
7262
id: package-version
7363
uses: xile611/read-package-version-action@main
7464
with:
75-
path: packages/vchart
65+
path: packages/vmind
7666

7767
- name: Commit & Push changes
7868
uses: actions-js/push@master

.github/workflows/release.yml

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
id: semver_parser
3939
uses: xile611/read-package-version-action@main
4040
with:
41-
path: packages/vchart
41+
path: packages/vmind
4242
semver_string: ${{ github.ref_name }}
4343
semver_pattern: '^release/(.*)$' # ^v?(.*)$ by default
4444

@@ -51,37 +51,10 @@ jobs:
5151
- name: Update version
5252
run: node common/scripts/install-run-rush.js version --bump
5353

54-
- name: Build vutils-extension && vchart
54+
- name: Build packages
5555
env:
5656
NODE_OPTIONS: '--max_old_space_size=4096'
57-
run: node common/scripts/install-run-rush.js build --to @visactor/vchart
58-
59-
# run bugserver after the build of main packages
60-
- name: Run Bugserver
61-
working-directory: ./packages/vchart
62-
env:
63-
BUG_SERVER_TOKEN: ${{ secrets.BUG_SERVER_TOKEN }}
64-
run: node ../../common/scripts/install-run-rushx.js ci
65-
66-
- name: Build react-vchart
67-
env:
68-
NODE_OPTIONS: '--max_old_space_size=4096'
69-
run: node common/scripts/install-run-rush.js build --only @visactor/react-vchart
70-
71-
- name: Build taro-vchart
72-
env:
73-
NODE_OPTIONS: '--max_old_space_size=4096'
74-
run: node common/scripts/install-run-rush.js build --only @visactor/taro-vchart
75-
76-
- name: Build lark-vchart
77-
env:
78-
NODE_OPTIONS: '--max_old_space_size=4096'
79-
run: node common/scripts/install-run-rush.js build --only @visactor/lark-vchart
80-
81-
- name: Build wx-vchart
82-
env:
83-
NODE_OPTIONS: '--max_old_space_size=4096'
84-
run: node common/scripts/install-run-rush.js build --only @visactor/wx-vchart
57+
run: node common/scripts/install-run-rush.js build --only tag:package
8558

8659
- name: Publish to npm
8760
env:
@@ -96,7 +69,7 @@ jobs:
9669
id: package-version
9770
uses: xile611/read-package-version-action@main
9871
with:
99-
path: packages/vchart
72+
path: packages/vmind
10073

10174
- name: Commit & Push changes
10275
run: |

.github/workflows/size-limit.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
days-before-stale: 730
2424
days-before-close: 7
2525
stale-issue-message: 'This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.'
26-
close-issue-message: 'This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of @VisActor/VChart, please open a new issue and link this to it. Thanks!'
26+
close-issue-message: 'This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of @VisActor/VMind, please open a new issue and link this to it. Thanks!'
2727
close-issue-reason: 'not_planned'
2828
stale-issue-label: 'stale_issue'
2929
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR. We are sorry for this but 2 years is a long time and the code base has been changed a lot. Thanks for your contribution anyway.'

.github/workflows/sync-main-to-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
id: package-version
4343
uses: xile611/read-package-version-action@main
4444
with:
45-
path: packages/vchart
45+
path: packages/vmind
4646

4747
- name: Create a new branch
4848
run: |

.github/workflows/unit-test.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,7 @@ jobs:
3030
# Install rush
3131
- name: Install rush
3232
run: node common/scripts/install-run-rush.js install --bypass-policy
33-
- name: Build vutils-extension
34-
run: node common/scripts/install-run-rush.js build --only @visactor/vutils-extension
35-
- name: Build VChart
36-
env:
37-
NODE_OPTIONS: '--max_old_space_size=4096'
38-
run: node common/scripts/install-run-rush.js run -p @visactor/vchart -s build:ci
33+
3934
- name: Compile
4035
run: node common/scripts/install-run-rush.js compile --only tag:package
4136
- name: Test

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ cjs
3737
build
3838
build-es5
3939
*.zip
40-
40+
packages/calculator/lib
4141

4242
*.zip
4343
stats.html
@@ -101,3 +101,5 @@ docs/public/documents
101101

102102
# env files
103103
.env.local
104+
packages/calculator/tsconfig.cjs.tsbuildinfo
105+
packages/calculator/tsconfig.esm.tsbuildinfo

0 commit comments

Comments
 (0)