Skip to content

⬆️ Upgrade node to 18 (#511) #133

⬆️ Upgrade node to 18 (#511)

⬆️ Upgrade node to 18 (#511) #133

name: Build and Deploy Storybook
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
persist-credentials: false
- uses: actions/setup-node@v1
with:
node-version: 18
- name: Install and Build Storybook
run: |
npm --prefix src install
npm --prefix src run build-storybook
- name: Deploy Storybook
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs