Skip to content

fix(ui): forward button title to icon #118

fix(ui): forward button title to icon

fix(ui): forward button title to icon #118

name: Storybook PR Preview
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
paths:
- "packages/ui-components/**"
# Limit the concurrency of entire workflow
concurrency: deploy-pr-preview-${{ github.ref }}
jobs:
deploy-preview:
runs-on: [default]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
if: github.event.action != 'closed'
with:
node-version: "20.x"
- name: Install dependencies
if: github.event.action != 'closed'
run: |
npm install --force
- name: Build storybook
if: github.event.action != 'closed'
run: npm -w @cloudoperators/juno-ui-components run build-storybook
- uses: rossjrw/pr-preview-action@v1
with:
source-dir: packages/ui-components/storybook-static
preview-branch: gh-pages
umbrella-dir: pr-preview
action: auto