Revert "Terminate build-storybook subprocess when build is aborted, a… #1387
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Smoke test via yarn canary | |
on: push | |
jobs: | |
chromatic: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: rm -rf subdir # remove conflicting subproject | |
- run: yarn set version canary | |
- name: install | |
run: yarn install | |
env: | |
YARN_ENABLE_IMMUTABLE_INSTALLS: false | |
- 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 }} |