Improve components #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Storybook | |
on: | |
push: | |
paths: ["src/**", "tailwind.config.js"] # Trigger the action only when files change in the folders defined here | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.16.0' | |
cache: 'npm' | |
- name: Install and Build | |
run: | | |
npm install | |
npm run build:storybook | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: storybook-static # output folder from `npm run build-storybook` |