pass number props, minimize specified layout (#107) #119
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
name: Publish Package & Storybook | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish_docker_image: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 # Use PNPM | |
with: | |
version: 8 | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Build Latest | |
run: pnpm build && pnpm build-storybook | |
env: | |
NODE_OPTIONS: --max-old-space-size=8096 | |
- name: Publish NPM Package | |
run: pnpm publish --non-interactive --access public | |
env: | |
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |
- name: Update GH Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./storybook-static |