Skip to content

Merge release/2.4.0 into main branch (#1098) #160

Merge release/2.4.0 into main branch (#1098)

Merge release/2.4.0 into main branch (#1098) #160

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
env:
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # 👈 Required to retrieve git history
- uses: actions/setup-node@v3
with:
node-version-file: '.node-version'
- run: npm config set "@fortawesome:registry" https://npm.fontawesome.com/ &&
npm config set "//npm.fontawesome.com/:_authToken" $FONTAWESOME_NPM_AUTH_TOKEN
- run: yarn
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}