Skip to content

4.2.0

4.2.0 #88

Workflow file for this run

name: Storybook Build
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
cache: "npm"
- name: Build Storybook 🔧
run: |
npm install
npm run build-storybook
touch storybook-static/.nojekyll
- name: Deploy Storybook 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: storybook-static