Update override #72
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: Chromatic | |
on: push | |
jobs: | |
chromatic: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: install | |
run: yarn install --frozen-lockfile | |
- name: run chromatic | |
run: 'CHROMATIC_GITHUB_UI_TESTS_COMMIT_STATUS_CONTEXT="UI Tests: If failure, ping ethriel3695" npx chromatic --only-changed --exit-zero-on-changed --exit-once-uploaded' | |
env: | |
CHROMATIC_PROJECT_TOKEN: chpt_32238008c2048e6 | |
# CHROMATIC_INDEX_URL: https://index.staging-chromatic.com | |
# CHROMATIC_GITHUB_UI_TESTS_COMMIT_STATUS_CONTEXT: 'UI Tests: If failure, ping ethriel3695' | |
# - name: Run Chromatic | |
# id: run-chromatic-action | |
# uses: chromaui/action-next@v1 | |
# with: | |
# onlyChanged: true | |
# traceChanged: true | |
# diagnostics: true | |
# exitZeroOnChanges: true | |
# exitOnceUploaded: true | |
# autoAcceptChanges: "main" | |
# env: | |
# CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
# STORYBOOK_GITHUB_SHA: ${{ github.event.pull_request.head.sha }} |