Skip to content

chore(deps): update storybook monorepo to v10 (major) #1489

chore(deps): update storybook monorepo to v10 (major)

chore(deps): update storybook monorepo to v10 (major) #1489

Workflow file for this run

name: Deploy Storybook
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build Storybook
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v6
with:
node-version: 24
cache: 'pnpm'
- run: pnpm install
- name: Build Storybook
run: pnpm run build-storybook
- uses: actions/upload-artifact@v6
with:
name: storybook-static
path: storybook-static
deploy:
name: Deploy Storybook
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push'
steps:
- name: Download Storybook artifact
uses: actions/download-artifact@v7
with:
name: storybook-static
path: storybook-static
- name: Deploy storybook to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook-static
destination_dir: ./storybook