Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

FLOW-950 Chromatic CI #4

FLOW-950 Chromatic CI

FLOW-950 Chromatic CI #4

Workflow file for this run

name: Chromatic Tests
on:
workflow_dispatch:
pull_request:
branches:
- main
defaults:
run:
shell: bash
working-directory: .
jobs:
lint:
name: Chromatic Tests
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Install pnpm
run: corepack enable && corepack prepare [email protected] --activate
- name: Install dependencies
run: pnpm install
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
zip: true
onlyChanged: true
buildScriptName: build-storybook:chromatic