Skip to content

fix: catch null value in onSelect (#2169) #203

fix: catch null value in onSelect (#2169)

fix: catch null value in onSelect (#2169) #203

name: Deploy Storybook
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy-preview:
name: Deploy Storybook
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout default branch
uses: actions/checkout@v4
- name: Use pnpm
uses: pnpm/action-setup@v3
with:
run_install: false
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- name: Install npm dependencies
run: pnpm i --frozen-lockfile
- name: Build Fondue Icons
run: pnpm build:icons
- name: Build Fondue Tokens
run: pnpm build:tokens
- name: Build Storybook docs
run: pnpm build:storybook:packages && pnpm build:storybook:main
- name: Deploy Storybook to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./storybook-docs/storybook-static
clean-exclude: pr-preview