Skip to content

Design improvements #8098

Design improvements

Design improvements #8098

Workflow file for this run

# Workflow name
name: 'Chromatic'
# Event for the workflow
on: push
# List of jobs
jobs:
chromatic-deployment:
# Operating System
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 20.x
uses: actions/setup-node@v2
with:
node-version: 20.x
cache: 'yarn'
- run: yarn install
- name: Install dependencies in react-components
run: yarn install
working-directory: packages/react-components
- run: yarn workspace @department-of-veterans-affairs/react-components run build
- run: yarn workspace @department-of-veterans-affairs/web-components run build
- run: yarn workspace @department-of-veterans-affairs/component-library run build
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
token: ${{ secrets.GITHUB_TOKEN }}
# 👇 Chromatic projectToken, refer to the manage page to obtain it.
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
onlyChanged: true
workingDir: packages/storybook
skip: 'dependabot/**'