Skip to main content
Deno 2 is finally here 🎉️
Learn more

Chromatic Pipeline

deno module deno compatibility

A ready-to-use CI/CD Pipeline for your Chromatic Projects. Publishes your Storybook to Chromatic and kicks off tests if they’re enabled.

🚀 Usage

Run the following command:

dagger run fluentci chromatic_pipeline

Environment Variables

Variable Description
CHROMATIC_PROJECT_TOKEN Your Chromatic Project Token.

Jobs

Job Description
publish Publishes your Storybook to Chromatic.

Programmatic usage

You can also use this pipeline programmatically:

import { Client, connect } from "@dagger.io/dagger";
import { Dagger } from "https://deno.land/x/chromatic_pipeline/mod.ts";

const { publish } = Dagger;

function pipeline(src = ".") {
  connect(async (client: Client) => {
    await publish(client, src);
  });
}

pipeline();