feat(ui) Appshell: render TopNavigation in embedded node if passed #32
Workflow file for this run
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: Storybook PR Preview | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- closed | |
paths: | |
- "packages/ui-components/**" | |
# Limit the concurrency of entire workflow | |
concurrency: deploy-pr-preview-${{ github.ref }} | |
jobs: | |
deploy-preview: | |
runs-on: [default] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
if: github.event.action != 'closed' | |
with: | |
node-version: "20.x" | |
- name: Install dependencies | |
if: github.event.action != 'closed' | |
run: | | |
npm install --force | |
- name: Build storybook | |
if: github.event.action != 'closed' | |
run: npm -w @cloudoperators/juno-ui-components run build-storybook | |
- uses: rossjrw/pr-preview-action@v1 | |
with: | |
source-dir: packages/ui-components/storybook-static | |
preview-branch: gh-pages | |
umbrella-dir: pr-preview | |
action: auto |