Skip to content

chore: version 3.3.0 #24

chore: version 3.3.0

chore: version 3.3.0 #24

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@v4
- name: Node Setup πŸ””
uses: actions/setup-node@v4
with:
node-version: 20
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@v4
- name: Node Setup πŸ””
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- 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