@@ -18,7 +18,10 @@ pipeline{
stage('通过node构建项目') {
steps {
nodejs('nodejs24.12.0') {
- sh '''npm run build:prod'''
+ sh '''
+ npm i
+ npm run build:prod
+ '''
}