Skip to content

chore: update storybook monorepo to v8 (major) #351

chore: update storybook monorepo to v8 (major)

chore: update storybook monorepo to v8 (major) #351

name: deploy Hooks preview
on:
pull_request:
paths:
- 'packages/spindle-hooks/**'
jobs:
build_and_preview:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/spindle-hooks/
permissions:
checks: write
pull-requests: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn install --frozen-lockfile
- run: yarn storybook:build
- name: deploy to preview channel
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT }}'
expires: 30d
entryPoint: ./packages/spindle-hooks/