fix: only use window.parent and fall back to window to prevent manage… #30
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
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 |