Skip to content

Commit 44a18b9

Browse files
committed
ci: Update CircleCI config to use yarn consistently
- Replace npm install with yarn install at root level - Add descriptive comments in Chinese for build steps - Streamline dependency installation process in gui directory The commit message reflects the changes to the CircleCI configuration file, where the main changes involve standardizing the use of yarn for package management and adding clarity through comments. Since no specific issue number was provided in the input, I've excluded the "Closes #" reference.
1 parent 206bb6b commit 44a18b9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.circleci/config.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ jobs:
1010
- checkout
1111
- run: git submodule sync
1212
- run: git submodule update --init --recursive
13-
- run: npm install
13+
# 首先在根目录安装依赖
14+
- run: yarn install
15+
# 然后进入 gui 目录安装依赖并构建
1416
- run: |
1517
cd gui
16-
yarn
18+
yarn install
1719
yarn vscode
1820
cd ..
19-
- run: npm run build
21+
# 最后执行打包
2022
- run: yarn package
2123
- persist_to_workspace:
2224
root: .
@@ -87,4 +89,4 @@ workflows:
8789
tags:
8890
only: /.*/
8991
branches:
90-
ignore: /.*/
92+
ignore: /.*/

0 commit comments

Comments
 (0)