feat(avatar): add presence support in avatar component #6895
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
# Workflow name | |
name: 'Chromatic' | |
# Event for the workflow | |
on: pull_request | |
# List of jobs | |
jobs: | |
chromatic-deployment: | |
# Operating System | |
runs-on: ubuntu-latest | |
env: | |
NODE_OPTIONS: --openssl-legacy-provider | |
# Job steps | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # 👈 Required to retrieve git history | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Install dependencies | |
run: npm ci | |
- run: npm run build-css | |
# 👇 Adds Chromatic as a step in the workflow | |
- name: Visual review with Chromatic | |
# run: npm run chromatic | |
uses: chromaui/action@v1 | |
# Chromatic GitHub Action options | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
projectToken: cb3a73370975 | |
exitZeroOnChanges: true # 👈 Option to prevent the workflow from failing |