Help Center>
CodeArts Build>
User Guide>
Configuring Build Actions>
Code-based Build>
Configuring a Task>
Using YAML to Build with Gulp
Updated on 2024-04-03 GMT+08:00
Using YAML to Build with Gulp
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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 |
Parent topic: Configuring a Task
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot