Skip to content

Start building out Storybook for the Penumbra UI library #2

Start building out Storybook for the Penumbra UI library

Start building out Storybook for the Penumbra UI library #2

# Deploys the static website for the UI storybook to a temporary environment,
# with an ephemeral URL posted to the PR for sharing/review.
name: Deploy UI to temporary URL
on:
workflow_dispatch:
pull_request:
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install
working-directory: packages/ui
- name: Build static site
run: pnpm build-storybook
working-directory: packages/ui
- uses: FirebaseExtended/action-hosting-deploy@v0
working-directory: packages/ui

Check failure on line 29 in .github/workflows/deploy-ui-preview-pr.yml

View workflow run for this annotation

GitHub Actions / Deploy UI to temporary URL

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-ui-preview-pr.yml (Line: 29, Col: 9): Unexpected value 'working-directory'
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_PENUMBRA_UI }}
target: preview
projectId: penumbra-ui