Skip to content

working directory

working directory #4

Workflow file for this run

---
name: 'Chromatic Publish'
on:
push:
branches:
- bab-deploy-storybook
permissions:
contents: read
jobs:
chromatic:
name: Run Chromatic
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend/packages/ui
steps:
- name: "Check out repository code"
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Run Chromatic
uses: chromaui/action@latest
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}