Skip to content

Fix/app shell z index #334

Fix/app shell z index

Fix/app shell z index #334

Workflow file for this run

# .github/workflows/chromatic.yml
# Workflow name
name: 'Chromatic'
# Event for the workflow
on:
pull_request:
branches: [main]
paths:
- 'libs/components/**'
- 'libs/icons/**'
- 'libs/tokens/**'
# List of jobs
jobs:
chromatic-deployment:
# Operating System
runs-on: ubuntu-latest
env:
NODE_OPTIONS: --max-old-space-size=4096
# Job steps
steps:
# 👇 Version 2 of the action
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0 # 👈 Required to retrieve git history
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: 16
cache: npm
- run: npm ci
# 👇 Adds Chromatic as a step in the workflow
- run: npx chromatic --project-token=${{ secrets.CHROMATIC_PROJECT_TOKEN }} --exit-once-uploaded --auto-accept-changes