fix: workspace animation on dashboard recipe #9935
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
name: Blade Chromatic | |
on: push | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.CI_BOT_TOKEN }} | |
jobs: | |
chromatic-deployment: | |
name: Chromatic Deployment | |
runs-on: ubuntu-latest # nosemgrep: non-self-hosted-runner | |
steps: | |
- name: Checkout Codebase | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Use Node v18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.12.1 | |
- name: Setup Cache & Install Dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Publish to Chromatic | |
uses: chromaui/action@v1 | |
with: | |
token: ${{ env.GITHUB_ACCESS_TOKEN }} | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
workingDir: packages/blade | |
storybookBaseDir: packages/blade | |
buildScriptName: react:storybook:build | |
exitOnceUploaded: true | |
onlyChanged: true | |
untraced: '**/package.json' | |
traceChanged: 'expanded' | |
env: | |
GITHUB_SHA: ${{ github.sha }} | |
GITHUB_REF: ${{ github.ref }} |