From 008029ad81d270f40702097e6ed09e3d4c467f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Sun, 29 Mar 2026 08:26:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BD=BF=E7=94=A8=20npm=20install=20?= =?UTF-8?q?=E6=9B=BF=E4=BB=A3=20npm=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 避免 Woodpecker CI 自动修改 npm ci 参数 - 确保开发依赖正确安装 - 修复 unit-tests 步骤失败问题 --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index a154f2d..a63a677 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -108,7 +108,7 @@ steps: NODE_ENV: test CI: true commands: - - npm ci --include=dev + - npm install - npm run test:coverage:check volumes: - /tmp/npm-cache:/root/.npm