Skip to content

feat: ✅ add in testing #3

feat: ✅ add in testing

feat: ✅ add in testing #3

Workflow file for this run

name: "Chromatic Publish"
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install dependencies
- run: npm ci
#👇 Adds Chromatic as a step in the workflow
- name: Publish to Chromatic
- uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}