Skip to content

Merge pull request #37 from devfemmy/add-contribution-guidelines #39

Merge pull request #37 from devfemmy/add-contribution-guidelines

Merge pull request #37 from devfemmy/add-contribution-guidelines #39

Workflow file for this run

name: Deploy the changes
on:
push:
branches:
- 2_0
jobs:
build-and-deploy:
name: Build, lint, and test on Node 14.x
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Build
run: yarn build && yarn build-storybook
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
- name: Deploy storybook 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: storybook-static # The folder the action should deploy.