Skip to content

FIX: failed to render in 1000ms warning #1405

FIX: failed to render in 1000ms warning

FIX: failed to render in 1000ms warning #1405

Workflow file for this run

name: 'Chromatic'
on: push
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: npm i --legacy-peer-deps && npm run build-storybook
- name: Publish to non-master non-beta to Chromatic
if: github.ref != 'refs/heads/master' && github.ref != 'refs/heads/beta'
uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
env:
STORYBOOK_BUILD_TIMEOUT: 1200000
NODE_ENV: test
CI: true
- name: Publish Chromatic and auto accept changes for master and beta
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta'
uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
autoAcceptChanges: true # 👈 Option to accept all changes
env:
STORYBOOK_BUILD_TIMEOUT: 1200000
NODE_ENV: test
CI: true