提交 a024368e authored 作者: 刘旭's avatar 刘旭

更新 Jenkinsfile

上级 2f298568
......@@ -7,9 +7,10 @@ pipeline {
steps {
echo "\n--------------- npm打包构建 start ---------------\n"
nodejs('nodejs-20.15.0') {
sh "npm config set registry https://registry.npmmirror.com/"
sh 'npm install'
sh 'npm run build'
sh "pnpm config set registry https://registry.npmmirror.com/"
sh 'pnpm install'
sh 'pnpm build'
}
echo "\n--------------- npm打包构建 end ---------------\n"
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论