Skip to content

Feature/Slider (#13) #29

Feature/Slider (#13)

Feature/Slider (#13) #29

name: Build and Publish Storybook to GitHub Pages
on:
push:
branches:
- 'main'
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- uses: bitovi/[email protected]
with:
install_command: pnpm install
build_command: pnpm build-storybook
path: storybook-static
checkout: false