Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
5e07bc0
feat: add components
stepnaya91 Jun 29, 2025
2cc868c
feat: update main.yml
stepnaya91 Jun 29, 2025
8b07f0a
Update main.yml
stepnaya91 Jun 29, 2025
41f95d5
trigger
stepnaya91 Jun 30, 2025
9ad4077
Update main.yml
stepnaya91 Jun 30, 2025
3af0435
Update main.yml
stepnaya91 Jun 30, 2025
aa94b05
Update main.yml
stepnaya91 Jun 30, 2025
8bc0123
Update main.ts
stepnaya91 Jun 30, 2025
7235beb
Update main.yml
stepnaya91 Jun 30, 2025
c14d94f
feat: update files
stepnaya91 Jun 30, 2025
4d9dcb6
feat: add small description
stepnaya91 Jun 30, 2025
f8503f0
feat: update main.yml
stepnaya91 Jun 30, 2025
98eee54
Create main_test.yml
stepnaya91 Jun 30, 2025
eca754e
feat: small description
stepnaya91 Jun 30, 2025
6da97e0
Merge branch 'main' of https://github.com/stepnaya91/stepnaya91.githu…
stepnaya91 Jun 30, 2025
589bedf
fix: props to destructuring
stepnaya91 Jul 3, 2025
59c7287
Merge branch 'storybook'
Jul 10, 2025
1c935ac
feat: add hooks
stepnaya91 Jul 15, 2025
8b08a48
fix: eslint errors and add components to storybook
stepnaya91 Jul 15, 2025
4bf0c2f
fix: update providers and FillInputModal
stepnaya91 Jul 19, 2025
a9720d0
Merge branch 'storybook'
stepnaya91 Jul 22, 2025
e1caa62
add: ProductList, ProductLitsLazyLoad, Portal
stepnaya91 Jul 29, 2025
914d298
Merge pull request #5 from stepnaya91/storybook
stepnaya91 Aug 4, 2025
0dca5b8
add: Patterns
stepnaya91 Aug 5, 2025
1730ee4
fix: ProductListAddButton
stepnaya91 Aug 5, 2025
f2936ab
fix: ProductListLazyLoad.tsx
stepnaya91 Aug 5, 2025
c96cfeb
fix: HOC component
stepnaya91 Aug 5, 2025
8f94a29
fix: add memo
stepnaya91 Aug 6, 2025
ed98d00
fix: add displayName for tests and linter
stepnaya91 Aug 6, 2025
0c8750e
Merge pull request #6 from stepnaya91/storybook
stepnaya91 Aug 6, 2025
2115a2a
add: complex components
stepnaya91 Aug 8, 2025
dde31de
fixed: children -> childrenText
stepnaya91 Aug 8, 2025
4044e19
Merge pull request #7 from stepnaya91/storybook
stepnaya91 Aug 12, 2025
905be61
feat: add Forms
stepnaya91 Sep 6, 2025
69d2d36
fix: key in categories
stepnaya91 Sep 6, 2025
c927ae7
feat: add zod validation
stepnaya91 Sep 16, 2025
c2e7641
fix: refine confirmPassword while empty date
stepnaya91 Sep 16, 2025
4434059
fix: required date
stepnaya91 Sep 16, 2025
b5a39e9
Merge pull request #8 from stepnaya91/storybook
stepnaya91 Sep 23, 2025
d5955cf
add: jest tests
stepnaya91 Sep 23, 2025
e6f8803
fix: accountServoce
stepnaya91 Sep 23, 2025
bbcc44e
Merge pull request #9 from stepnaya91/storybook
stepnaya91 Sep 30, 2025
512dde1
feat: add routing
stepnaya91 Oct 4, 2025
9b3e6c9
fix: main.yml
stepnaya91 Oct 4, 2025
462d4a0
fit: add routing to modal
stepnaya91 Oct 10, 2025
1570576
fix: delete children from props
stepnaya91 Oct 10, 2025
a9cfc84
Merge branch 'main' into storybook
stepnaya91 Oct 11, 2025
13dcba2
Merge pull request #10 from stepnaya91/storybook
stepnaya91 Oct 11, 2025
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
31 changes: 16 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Test, Lint, Build and Deploy on Github Pages

on:
push:
branches: ["master", "main"]
branches:
- main

# Позволяет запустить этот рабочий процесс вручную на вкладке Actions
workflow_dispatch:
Expand All @@ -12,7 +13,7 @@ permissions:

jobs:
build-and-deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-latest

strategy:
matrix:
Expand All @@ -34,28 +35,28 @@ jobs:
- name: Run tests and linter
run: npm run lint && npm test

# Собираем приложение
# # Собираем приложение
- name: Build Application
run: npm run build

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

# # Собираем 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"
# Собираем 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: Fail on failed tests
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/main_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Print workflow #Название workflow
on: workflow_dispatch #Триггер, который будет вызывать workflow

jobs: #Начало секции джобов

print_hello: #Начало секции первой джобы
runs-on: ubuntu-latest #Среда выполнения джоба
steps: #Начало секции шагов
- name: Print hello #Название шага
run: echo "Hello world!" #Команда, которая будет выполнена в терминале
4 changes: 4 additions & 0 deletions .storybook/main.ts → .storybook/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@ const config = {
docs: {
autodocs: "tag",
},
webpack: (config, options) => {
options.cache.set = () => Promise.resolve();
return config;
}
};
export default config;
15 changes: 0 additions & 15 deletions .storybook/preview.ts

This file was deleted.

25 changes: 25 additions & 0 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { type Preview } from "@storybook/react";
import { ThemeProvider } from "../src/components/ThemeProvider"
import { LanguageProvider } from "../src/components/LanguageProvider"

const preview: Preview = {
parameters: {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
},
decorators: [
(Story) => (
<LanguageProvider>
<ThemeProvider>
<Story/>
</ThemeProvider>
</LanguageProvider>
)]
};

export default preview;
Loading