> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/open-source/use-harness-open-source/pipelines-1/parallelism.md).

# Parallelism

Pipeline steps are executed sequentially by default. You can optionally run steps in parallel.

## Parallel steps <a href="#parallel-steps" id="parallel-steps"></a>

This pipeline executes `backend` and `frontend` steps in parallel, followed by a `notify` step.

```yaml
kind: pipeline
spec:
  stages:
    - type: ci
      spec:
        steps:
          - type: parallel
            spec:
              steps:
                - name: backend
                  type: run
                  spec:
                    container: golang
                    script: |-
                      go build
                      go test

                - name: frontend
                  type: run
                  spec:
                    container: node
                    script: |-
                      npm install
                      npm test

          - name: notify
            type: plugin
            spec:
              name: slack
              inputs:
                webhook: ${{ secrets.get("slack_webhook") }}
```
