Skip to content

chore: version packages (#1802) #5670

chore: version packages (#1802)

chore: version packages (#1802) #5670

Workflow file for this run

name: Chromatic
on:
push:
branches:
- '**'
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
outputs:
storybookUrl: ${{ steps.chromatic.outputs.storybookUrl }}
steps:
- name: Get Token
uses: launchdarkly/gh-actions/actions/[email protected]
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
ssm_parameter_pairs: '/production/common/launchpad-ui/chromatic-token = CHROMATIC_TOKEN'
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Publish to Chromatic
id: chromatic
uses: chromaui/action@v13
with:
projectToken: ${{ env.CHROMATIC_TOKEN }}
buildScriptName: 'storybook:build'
exitOnceUploaded: true
onlyChanged: true
externals: packages/(icons/src/img|tokens/tokens)/**