From 432074a0b940af02df01f558e51508499a0f3f06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=93=B2=E9=93=9C?= <9490856+zhangzhetong@user.noreply.gitee.com> Date: Wed, 8 Oct 2025 15:33:00 +0800 Subject: [PATCH] ci: fix --- .drone.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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