Pipeline syntax

A catalyst.yml describes how to turn source into one or more artifacts.

Minimal example

name: web
artifacts:
  - id: web
    type: oci-image

pipeline:
  - run: pnpm install
  - run: pnpm test
  - run: pnpm build

Matrix builds

matrix:
  node: [18, 20, 22]
  os: [linux, darwin]

pipeline:
  - run: node --version
  - run: pnpm test

Reusable composites

pipeline:
  - uses: catalyst/setup-node@v2
    with: { version: 20 }
  - uses: ./.catalyst/lint
  - run: pnpm build