Skip to content

docs(styles): updated example [ci visual] #6639

docs(styles): updated example [ci visual]

docs(styles): updated example [ci visual] #6639

Workflow file for this run

name: "Chromatic"
on: push
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}
jobs:
test:
if: "contains(github.event.head_commit.message, '[ci visual]') || contains(github.event.head_commit.message, 'chore(deps-dev)') || github.event.ref == 'refs/heads/main'"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Chromatic requires to have full git history
- name: Setup Node.js and Cache
uses: ./.github/actions/nodejs
- run: yarn run build
- uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
buildScriptName: storybook:chromatic