refactor: prisma as external dep from cdn #511
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: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout | |
uses: actions/[email protected] | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: ⚒ Install deps | |
run: corepack enable && yarn install --immutable | |
- name: ⚙️ Build storybook | |
run: yarn build-storybook | |
- name: 🚀 Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: storybook-static |