Skip to content

feat(dave): Improve presentation to handle multiple reports. Story ad… #158

feat(dave): Improve presentation to handle multiple reports. Story ad…

feat(dave): Improve presentation to handle multiple reports. Story ad… #158

Workflow file for this run

name: "Chromatic"
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 #required to retrieve git history
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
package_json_file: "package.json"
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Code format check
run: pnpm format:check
- name: Linting
run: pnpm lint
- name: Build Storybook
run: pnpm build:storybook --filter=dave
- name: Publish to Chromatic
uses: chromaui/action@v13.2.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
storybookBuildDir: storybook-static
workingDir: ./apps/dave
exitOnceUploaded: true