编译构建 CODEARTS BUILD-使用yaml配置Grunt构建

时间:2023-12-20 17:27:54

使用yaml配置Grunt构建

version: 2.0 # 必须是2.0
steps:
  BUILD:
	- grunt:
	       inputs:
	          command: |-
	            npm config set registry http://7.223.219.40/npm/
				#npm cache clean -f
				#npm audit fix --force
				npm install --verbose
				grunt
				npm run build

参数名

参数类型

描述

是否必填

默认值

command

string

执行命令。

support.huaweicloud.com/usermanual-codeci/codeci_ug_1071.html