更新 Jenkinsfile

This commit is contained in:
panjunjie 2025-08-11 14:55:57 +08:00
parent 4da33e787a
commit 8dddbb730b

4
Jenkinsfile vendored
View File

@ -20,7 +20,11 @@ pipeline {
stage('安装依赖') {
steps {
sh '''
echo "清理旧依赖..."
rm -rf node_modules package-lock.json
npm cache clean --force
echo "设置国内镜像源加速..."
npm config set registry https://registry.npmmirror.com
# 安装其他依赖