This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
chore(deps): update dependency byte-size to v8.1.1 #91
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: Main changed - build, then release and update GH Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
uses: ./.github/workflows/reusable-build.yml | |
with: | |
node-version: 16.19.0 | |
update-storybook-on-ghpages: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
- uses: ./.github/actions/cache-restore | |
id: cache-node-modules | |
with: | |
node-version: 16.19.0 | |
- name: Build storybook | |
run: | | |
cd packages/ui | |
npm run test-generate-output | |
npm run build-storybook -- --quiet --loglevel silent | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: packages/ui/storybook-static # The folder the action should deploy. |