更新 Jenkinsfile

更改jenkins配置
This commit is contained in:
panjunjie 2025-08-10 21:43:29 +08:00
parent b386cf6835
commit 679061250d

7
Jenkinsfile vendored
View File

@ -11,6 +11,13 @@ pipeline {
checkout scm checkout scm
} }
} }
stage('检查Node.js版本') {
steps {
sh 'node -v' // 验证Node.js版本应输出v22.18.0
sh 'npm -v' // 验证npm版本应输出对应版本如v10.9.3
}
}
stage('安装依赖') { stage('安装依赖') {
steps { steps {