Esta página aún no está disponible en su idioma local. Estamos trabajando arduamente para agregar más versiones de idiomas. Gracias por tu apoyo.

On this page

Show all

Using YAML to Configure a Build with Gulp

Updated on 2023-12-21 GMT+08:00
version: 2.0 # The value must be 2.0.
steps:
  BUILD:
	- gulp:
       inputs:
          command: |-
			export PATH=$PATH:~/.npm-global/bin
			npm config set registry http://mirrors.tools.huawei.com/npm/
			npm config set prefix '~/.npm-global'
			#If node-sass needs to be installed:
			#npm config set sass_binary_site https://repo.huaweicloud.com/node-sass/
			#npm install node-sass
			#Load dependencies.
			npm install -verbose
			gulp

Parameter

Type

Description

Mandatory

Default Value

command

string

Execute commands.

Yes

None

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback