chore: update dependencies #2678
Workflow file for this run
This file contains hidden or 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: Deploy Storybook PR Preview | |
| concurrency: storybook-pr-preview-${{ github.ref }} | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - closed | |
| jobs: | |
| deploy-pr-preview: | |
| name: Deploy Storybook PR Preview | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout default branch | |
| uses: actions/checkout@v4 | |
| - name: Use pnpm | |
| if: github.event.action != 'closed' | |
| uses: pnpm/action-setup@v3 | |
| with: | |
| run_install: false | |
| - name: Use Node.js | |
| if: github.event.action != 'closed' | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| cache: "pnpm" | |
| - name: Install npm dependencies | |
| if: github.event.action != 'closed' | |
| run: pnpm i --frozen-lockfile | |
| - name: Build Fondue Icons | |
| if: github.event.action != 'closed' | |
| run: pnpm build:icons | |
| - name: Build Fondue Components | |
| if: github.event.action != 'closed' | |
| run: pnpm build:components | |
| - name: Build Storybook docs | |
| if: github.event.action != 'closed' | |
| run: pnpm build:storybook:packages && pnpm build:storybook:main | |
| env: | |
| STORYBOOK_PATH_PREFIX: "/pr-preview/pr-${{ github.event.number }}/" | |
| - name: Deploy Storybook to GitHub Pages | |
| uses: rossjrw/[email protected] | |
| with: | |
| source-dir: ./storybook-docs/storybook-static |