Skip to content

Merge pull request #53 from ssi02014/dev #20

Merge pull request #53 from ssi02014/dev

Merge pull request #53 from ssi02014/dev #20

Workflow file for this run

name: Publish Package to npmjs
on:
push:
branches:
- master
jobs:
npm-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ””
uses: actions/checkout@v3
- name: Node Setup πŸ””
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Install & Build πŸ”¨
run: |
yarn
yarn build
- name: Publish πŸš€
run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
storybook-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ””
uses: actions/checkout@v3
- name: Install & Build πŸ”¨
run: |
yarn
yarn build:storybook
- name: Deploy πŸš€
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.PUBLISH_TOKEN }}
folder: storybook-static