Skip to content

fix: ci

fix: ci #43

Workflow file for this run

name: Storybook
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: "20.11.1"
registry-url: "https://registry.npmjs.org"
- run: pnpm install
- run: pnpm build
working-directory: packages/core
- run: pnpm -r build
- run: pnpm -r storybook:build
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./packages/react/storybook-static