Skip to content

build(deps): bump the npm_and_yarn group across 1 directory with 8 updates #49

build(deps): bump the npm_and_yarn group across 1 directory with 8 updates

build(deps): bump the npm_and_yarn group across 1 directory with 8 updates #49

Workflow file for this run

name: Build and Deploy Storybook
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install pnpm
run: npm install -g pnpm@10
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build Storybook
run: pnpm run storybook:build
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./storybook-static
deploy:
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
environment:
name: GitHub Pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4