chromatic-cli | Chromatic CLI | Frontend Framework library
kandi X-RAY | chromatic-cli Summary
kandi X-RAY | chromatic-cli Summary
Publishes your Storybook to Chromatic and kicks off tests if they're enabled.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of chromatic-cli
chromatic-cli Key Features
chromatic-cli Examples and Code Snippets
- uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: 'Your chromatic project token'
buildScriptName: 'The npm script that builds your Storybook [build-storybook]'
storybookBuildDir: 'Provide a
Community Discussions
Trending Discussions on chromatic-cli
QUESTION
I am working on a React project which is using storybook, I'm trying to publish this storybook into chromatic with GitHub actions. I am using their sample chromatic.yml
with just a few changes to match my project needs. Running the chromatic-cli my storybook is desployed succesflly but when I use GitHub actions the following error is displayed:
ANSWER
Answered 2021-Apr-23 at 23:24So here's what I found on chromatic's official repository:
- https://github.com/chromaui/chromatic-cli/issues/227
- https://github.com/chromaui/chromatic-cli/issues/324
- https://github.com/chromaui/chromatic-cli/issues/197
There's a chance this problem originates from the fact I'm using a monorepo, I though using working-directory
was enough to fix this but there an aditional parameter to be used chromaui
, workinDir.
Here's my current chromatic.yml
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install chromatic-cli
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page