Getting started with Ladle
- ladle that holds stories to be tested
- lost-pixel configuration file
- 1.
- 2.
- 3.Add action file in the root of your project. In
.github/workflows/ci.yml
on: [push]jobs:build:runs-on: ubuntu-lateststeps:- name: Checkoutuses: actions/checkout@v3- name: Setup Nodeuses: actions/setup-node@v3with:node-version: 18.xcache: "npm"- name: Install dependenciesrun: npm install- name: Build ladlerun: npm run build- name: Serve ladlerun: npm run serve &- name: Lost Pixeluses: lost-pixel/[email protected] - 4.
After writing your first stories you can adopt the visual regression testing by following visual regression testing workflow
This example is available here. You can see some other popular integrations in the lost-pixel-examples directory.
Last modified 4mo ago