Skip to content

Commit

Permalink
Merge pull request #212 from Neovici/feature/update-storybook-github-…
Browse files Browse the repository at this point in the history
…workflow

feat: update `storybook` gitHub workflow
  • Loading branch information
megheaiulian authored Jun 4, 2024
2 parents 60b12b8 + de5f0ca commit ffed594
Showing 1 changed file with 5 additions and 21 deletions.
26 changes: 5 additions & 21 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,12 @@
---
name: Github CI
name: Storybook
on:
push:
branches:
- master
jobs:
storybook:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'

- name: Install
run: npm ci

- name: Deploy storybook
run: npm run storybook:deploy -- --ci
env:
GH_TOKEN: Neovici:${{ secrets.GITHUB_TOKEN }}
uses: Neovici/cfg/.github/workflows/story.yml@master
secrets: inherit
with:
skip_dist: true

0 comments on commit ffed594

Please sign in to comment.