@shanzhai/parallel-step

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

Usage no npm install needed!

<script type="module">
  import shanzhaiParallelStep from 'https://cdn.skypack.dev/@shanzhai/parallel-step';
</script>

README

@shanzhai/parallel-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 parallel.

Usage

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

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

This will execute each of the steps simultaneously, in parallel.

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