Skip to content

Update package.json v3.11.0 (#1306) #232

Update package.json v3.11.0 (#1306)

Update package.json v3.11.0 (#1306) #232

Workflow file for this run

# .github/workflows/chromatic.yml
# Workflow name
name: "Chromatic build on main"
# Event for the workflow
on:
push:
branches:
- main
# List of jobs
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
with:
fetch-depth: 0 # 👈 Required to retrieve git history
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
- name: Setup Yarn
uses: volta-cli/action@v4
- name: Setup env
run: echo "FONTAWESOME_NPM_AUTH_TOKEN=${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}" > .env
- name: Install dependencies
run: yarn install
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}