Skip to content

Fix: Make sure MSW loader is resolved only when mocking is enabled (#… #248

Fix: Make sure MSW loader is resolved only when mocking is enabled (#…

Fix: Make sure MSW loader is resolved only when mocking is enabled (#… #248

Workflow file for this run

name: 'Chromatic'
on: push
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: yarn install --immutable
- name: Build addon
run: yarn workspace msw-storybook-addon build
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
workingDir: ./packages/docs
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitOnceUploaded: true