Skip to content

Commit

Permalink
feat: deploy storybook-static
Browse files Browse the repository at this point in the history
  • Loading branch information
megheaiulian committed Mar 21, 2024
1 parent 7451f16 commit cb86e29
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ jobs:
- name: Build
run: npm run build --if-present

- name: Build storybook
run: npm run storybook:build

- uses: rossjrw/pr-preview-action@v1
with:
source-dir: .
source-dir: ./storybook-static
preview-branch: gh-pages
umbrella-dir: pr-preview
action: auto
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ coverage/
.eslintcache
.DS_Store
dist/
storybook-static/
2 changes: 1 addition & 1 deletion stories/cosmoz-autocomplete.stories.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { html } from 'lit-html';
import '../src/autocomplete/';
import '@neovici/cosmoz-autocomplete/autocomplete';

Check failure on line 2 in stories/cosmoz-autocomplete.stories.js

View workflow job for this annotation

GitHub Actions / build / build

Unable to resolve path to module '@neovici/cosmoz-autocomplete/autocomplete'
import { colors } from './data';

export default {
Expand Down

0 comments on commit cb86e29

Please sign in to comment.