Skip to content

Merge pull request #20 from plumelo/feature/update-positionjs #34

Merge pull request #20 from plumelo/feature/update-positionjs

Merge pull request #20 from plumelo/feature/update-positionjs #34

Workflow file for this run

---
name: Storybook CD
on:
push:
branches:
- master
jobs:
storybook:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 19
cache: 'npm'
- name: Install
run: npm ci
- name: Install
run: npm run build
- name: Fix import
run: sed -i 's/..\/src/..\/dist/g' stories/*.stories.js
- name: Deploy storybook
run: npm run storybook:deploy -- --ci
env:
GH_TOKEN: Neovici:${{ secrets.GITHUB_TOKEN }}