From 44a18b9ab4a21a81d92ca8ee3520a3844fa72c9f Mon Sep 17 00:00:00 2001 From: "bobo.yang" Date: Fri, 21 Feb 2025 14:18:40 +0800 Subject: [PATCH] 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. --- .circleci/config.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c0fef96..d26ebec 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,13 +10,15 @@ jobs: - checkout - run: git submodule sync - run: git submodule update --init --recursive - - run: npm install + # 首先在根目录安装依赖 + - run: yarn install + # 然后进入 gui 目录安装依赖并构建 - run: | cd gui - yarn + yarn install yarn vscode cd .. - - run: npm run build + # 最后执行打包 - run: yarn package - persist_to_workspace: root: . @@ -87,4 +89,4 @@ workflows: tags: only: /.*/ branches: - ignore: /.*/ + ignore: /.*/ \ No newline at end of file