diff --git a/.drone.yml b/.drone.yml index 17b4926..320b475 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,13 +12,12 @@ trigger: steps: # 步骤 1: 安装 pnpm 并缓存依赖 - name: install-and-build - image: node:18-alpine + image: node:22-alpine commands: # 设置国内镜像 - npm config set registry https://registry.npmmirror.com - # 安装 pnpm (使用项目指定版本) - - npm install -g pnpm@10.10.0 + - npm install -g pnpm@^10 # 设置 pnpm 国内镜像和缓存配置 - pnpm config set registry https://registry.npmmirror.com