Skip to Content
flowpact

Install

Install flowpact for the command line, GitHub Actions or your editor.

flowpact runs in three places, from the same engine: they read the same files and report the same findings.

Command line

The npm package and the command are both flowpact; it needs Node.js 22 or newer. To try it without installing anything, run it with npx at the root of a repository:

npx flowpact lint

To pin the version for everyone working on the repository, and for its CI, add it as a development dependency:

npm i -D flowpact

Install once and use flowpact anywhere:

npm install --global flowpact
flowpact lint

GitHub Actions

The action needs neither Node.js nor an install step: it runs the bundled engine and turns findings into annotations on the pull request and a job summary.

.github/workflows/flowpact.yml
name: flowpact
on: pull_request
permissions:
  contents: read
jobs:
  flowpact:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7       # pin to a commit SHA
      - uses: ciatlas/flowpact@v0.29    # pin to a commit SHA

Run on pull requests covers the setups for an application repository and for a repository of shared workflows, and GitHub Action lists every input and output. Other CI services run the command line.

Editors

Install flowpact from the Visual Studio Marketplace. The extension bundles the language server: it needs neither Node.js nor the npm package.

Verify a release

Each release is built by the repository's release workflow, which attests the npm package, the action and the extension, with an SBOM; the npm package is published with provenance. See Verify a release.

On this page