From 102f21b4997c58831f17b8f6d8f4dc6cf47febd4 Mon Sep 17 00:00:00 2001 From: lixin <shinisbigdevil@hotmail.com> Date: Fri, 17 Jan 2025 11:46:47 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=B0=86=20Drone=20CI=20=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=20yarn=20=E6=9B=BF=E6=8D=A2=E4=B8=BA=20pnpm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 yarn 配置命令替换为 pnpm 配置命令 - 将 yarn install 和 yarn build 替换为 pnpm install 和 pnpm build - 保留了原有的缓存路径和注释掉的命令 --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3aa0f2e..5095bee 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,9 +27,9 @@ steps: path: /usr/local/share/.cache/yarn/v6 commands: # - npm config set registry https://registry.npm.taobao.org - - yarn config set registry https://registry.npmmirror.com - - yarn install - - yarn build + - pnpm config set registry https://registry.npmmirror.com + - pnpm install + - pnpm build #- npm cache clean --force # - npm install # - npm run build:prod