chore: upgrade Storybook to version 8 #12
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 | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
faency: | |
name: Deploy | |
if: github.repository == 'traefik/faency' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: yarn | |
- name: Config git | |
run: | | |
git config --local user.email "30906710+traefiker@users.noreply.github.com" | |
git config --local user.name "traefiker" | |
- name: Deploy | |
uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3 | |
env: | |
NODE_ENV: production | |
with: | |
install_command: yarn install --frozen-lockfile --production && yarn patch | |
build_command: yarn build-storybook | |
path: storybook-static | |
checkout: false |