Skip to content

Merge pull request #1079 from chromaui/cody/cap-2202-chromatic-cli-do… #2445

Merge pull request #1079 from chromaui/cody/cap-2202-chromatic-cli-do…

Merge pull request #1079 from chromaui/cody/cap-2202-chromatic-cli-do… #2445

name: Smoke test via yarn classic
on: push
permissions:
contents: read
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: lts/*
- run: rm -rf subdir # remove conflicting subproject
- run: corepack enable
- run: yarn set version 1.22.22
- run: yarn install
- 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 }}