v0.5.1
A ready-to-use CI/CD Pipeline and jobs for Chromatic projects.
Attributes
Includes Deno configuration
Repository
Current version released
3 years ago
Dependencies
deno.land/x
esm.sh
std
Chromatic Pipeline
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_pipelineEnvironment 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 "https://sdk.fluentci.io/v0.1.9/mod.ts";
import { publish } from "https://pkg.fluentci.io/chromatic_pipeline@v0.5.1/mod.ts";
function pipeline(src = ".") {
connect(async (client: Client) => {
await publish(client, src);
});
}
pipeline();