Throw user-friendly error when config file fails to parse as JSON #785
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 Node 20 | |
on: push | |
permissions: | |
contents: read | |
jobs: | |
self-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- run: yarn | |
- run: yarn build | |
- uses: ./ | |
with: | |
buildScriptName: build-test-storybook | |
exitZeroOnChanges: true | |
forceRebuild: true | |
onlyChanged: true | |
env: | |
LOG_LEVEL: debug | |
DEBUG: chromatic-cli | |
CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }} |