Updated on 2024-04-03 GMT+08:00

Using YAML to Build with Grunt

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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