Loki

Loki

  • Getting Started
  • Configuration
  • Command Line Arguments

›Guides

Introduction

  • Getting started

API Reference

  • Configuration
  • Command line arguments

Guides

  • Continuous Integration
  • Serverless renderer
  • Handling Flaky Tests

Continuous Integration

Loki is built with the intention of running on a continuous integration server, ensuring you don't get any visual regressions in your project. How you run loki on a CI might be different from running locally though. The typical setup will fail stories with missing reference images by passing the --requireReference flag and since the CI won't change any of the underlying code, there's no need running storybook in server mode.

A command combining these two could look something like this:

build-storybook && loki --requireReference --reactUri file:./storybook-static

See the loki react example project for a reference implementation of this approach.

Last updated on 8/27/2024
← Command line argumentsServerless renderer →
Loki
Docs
Getting StartedAPI ReferenceGuides
Community
User Showcase
More
GitHubStar
Follow @trastknast
Copyright © 2024 Joel Arvidsson