Updated on 2023-12-21 GMT+08:00

Using YAML to Configure a Build with Grunt

version: 2.0 # The value must be 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

Parameter

Type

Description

Mandatory

Default Value

command

string

Execute commands.

Yes

None