Skip to content

Update storybook.yml #5

Update storybook.yml

Update storybook.yml #5

Workflow file for this run

name: storybook
on:
push:
branches:
- main
defaults:
run:
working-directory: packages/crumbs-vue
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set Up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Set up Git user
run: |
git config --global user.name 'Your Name'
git config --global user.email 'you@example.com'
- name: Install Dependencies
run: npm install
- name: Build Storybook
run: npm run storybook:build
- name: Predeploy Storybook
run: npm run storybook:predeploy
- name: Deploy To GitHub Pages
run: npm run storybook:deploy