Skip to content

Merge pull request #282 from MetroStar/dependabot/npm_and_yarn/minor-… #253

Merge pull request #282 from MetroStar/dependabot/npm_and_yarn/minor-…

Merge pull request #282 from MetroStar/dependabot/npm_and_yarn/minor-… #253

name: Build and Deploy
on:
push:
branches: [main]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node environment
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Build
run: |
npm run build:storybook
touch ./storybook-static/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
clean: true
clean-exclude: |
CNAME
folder: storybook-static