Skip to content

Merge branch 'anu/controlled-carousel' of https://github.com/razorpay… #9715

Merge branch 'anu/controlled-carousel' of https://github.com/razorpay…

Merge branch 'anu/controlled-carousel' of https://github.com/razorpay… #9715

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 }}