Skip to content

Merge pull request #822 from chromaui/ghengeveld/ap-3696-allow-user-t… #1394

Merge pull request #822 from chromaui/ghengeveld/ap-3696-allow-user-t…

Merge pull request #822 from chromaui/ghengeveld/ap-3696-allow-user-t… #1394

name: Smoke test via yarn on Windows
on: push
jobs:
chromatic:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 16
- name: install
run: yarn
- name: prep package
run: node ./scripts/rename.js storybook-chromatic
- run: yarn build
- name: run chromatic
run: npx -p . chromatic --build-script-name build-test-storybook --exit-zero-on-changes --force-rebuild
env:
LOG_LEVEL: debug
DEBUG: chromatic-cli
CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}