Skip to content

Latest commit

 

History

History

serial-step

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

@shanzhai/serial-step Continuous Integration License FOSSA Status Renovate enabled npm npm type definitions

A Shanzhai build step which runs any number of child build steps in serial.

Usage

Within a trigger's event handler, return an instance of SerialStep similar to the following:

new SerialStep(
  `A description of the operation being performed`,
  [
    new FirstStepToExecute(),
    new SecondStepToExecute(),
    new ThirdStepToExecute(),
  ]
)

This will execute each of the steps sequentially; one after the other.

Dependencies

This package has no runtime dependencies.

Peer Dependencies

This package has no runtime peer dependencies (it does not expect any other packages to be installed alongside itself).

License

FOSSA Status