Skip to content

0.0.12

0.0.12 #12

name: Deploy Storybook
on:
push: { branches: [main] }
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 20 }
- run: npm ci
- run: npm run build
- run: npm run build:css
- run: npm run build:storybook
- uses: actions/upload-pages-artifact@v3
with: { path: storybook-static }
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4