Skip to content

fix: iframed storybook sites fail due to window.top access #28

fix: iframed storybook sites fail due to window.top access

fix: iframed storybook sites fail due to window.top access #28

Workflow file for this run

on:
push:
branches:
- main
name: github-pages
jobs:
deploy:
permissions:
contents: read
id-token: write
pages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: |
npm ci
rm -rf example/node_modules
rm example/package-lock.json
npm run build:example
- uses: actions/upload-pages-artifact@v3
with:
path: storybook-site/
- uses: actions/deploy-pages@v4