Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ДЗ - Слайдер диапазона #103

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
build
dist
src/js
26 changes: 13 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,23 @@ jobs:
run: npm run build

# Публикуем приложение на Github Pages
- name: Deploy to Github Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist
# - name: Deploy to Github Pages
# uses: JamesIves/[email protected]
# with:
# branch: gh-pages
# folder: dist

# # Собираем Storybook
# - name: Build Storybook
# run: npm run build-storybook
- name: Build Storybook
run: npm run build-storybook
#
# # Публикуем Storybook на Github Pages
# - name: Deploy Storybook to Github Pages
# uses: JamesIves/[email protected]
# with:
# branch: gh-pages
# folder: storybook-static
# commit-message: "Automatically publish Storybook"
- name: Deploy Storybook to Github Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: storybook-static
commit-message: "Automatically publish Storybook"

# Останавливаем выполнение строго при неудачных тестах
- name: Fail on failed tests
Expand Down
15 changes: 11 additions & 4 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
const config = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],

addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/preset-scss",
"@storybook/addon-mdx-gfm"
"@storybook/addon-mdx-gfm",
"@storybook/addon-webpack5-compiler-babel",
"@chromatic-com/storybook"
],

framework: {
name: "@storybook/react-webpack5",
options: {},
},
docs: {
autodocs: "tag",
},

docs: {},

typescript: {
reactDocgen: "react-docgen-typescript"
}
};
export default config;
Loading