diff --git a/.eslintignore b/.eslintignore index d5c36bb1..42dc3b50 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,4 @@ coverage/ dist/ +storybook-static/ __snapshots__/ diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml new file mode 100644 index 00000000..cffee5af --- /dev/null +++ b/.github/workflows/preview.yml @@ -0,0 +1,13 @@ +name: Deploy PR previews +concurrency: preview-${{ github.ref }} +on: + pull_request: + types: + - opened + - reopened + - synchronize + - closed +jobs: + storybook: + uses: Neovici/cfg/.github/workflows/preview.yml@master + secrets: inherit diff --git a/.gitignore b/.gitignore index f34e3e4b..34d51dfa 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ coverage/ .eslintcache .DS_Store dist/ +storybook-static/ diff --git a/stories/cosmoz-autocomplete.stories.js b/stories/cosmoz-autocomplete.stories.js index d44e51c7..3f4688aa 100644 --- a/stories/cosmoz-autocomplete.stories.js +++ b/stories/cosmoz-autocomplete.stories.js @@ -1,5 +1,5 @@ import { html } from 'lit-html'; -import '../src/autocomplete/'; +import '../src/autocomplete'; import { colors } from './data'; export default {