Fix/select color mode (#106) #118
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: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build Latest | |
run: yarn build && yarn build-storybook | |
env: | |
NODE_OPTIONS: --max-old-space-size=8096 | |
- name: Publish NPM Package | |
run: yarn 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 |