Skip to content

Commit 6ba4f45

Browse files
committed
fix: ci
1 parent b37bd70 commit 6ba4f45

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,11 @@ jobs:
339339
if ! echo "${{ steps.docker.outputs.IMAGE }}" | grep -q alpine; then
340340
apt-get update && apt-get install -y libc6-dev
341341
fi
342-
npm run test
342+
# 安装 pnpm 并清理重新安装依赖项以确保正确的架构模块
343+
npm install -g pnpm
344+
rm -rf node_modules
345+
pnpm install
346+
pnpm test
343347
344348
publish:
345349
name: Publish

0 commit comments

Comments
 (0)