diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0f5ba90b0..8a94209db 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,31 +31,31 @@ jobs: run: npm install # Запускаем тесты и линтер - - name: Run tests and linter - run: npm run lint && npm test - - # Собираем приложение - - name: Build Application - run: npm run build - - # Публикуем приложение на Github Pages - - name: Deploy to Github Pages + # - name: Run tests and linter + # run: npm run lint && npm test + +# # Собираем приложение +# - name: Build Application +# run: npm run build +# +# # Публикуем приложение на Github Pages +# - name: Deploy to Github Pages +# uses: JamesIves/github-pages-deploy-action@4.2.1 +# 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/github-pages-deploy-action@4.2.1 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/github-pages-deploy-action@4.2.1 - # with: - # branch: gh-pages - # folder: storybook-static - # commit-message: "Automatically publish Storybook" + folder: storybook-static + commit-message: "Automatically publish Storybook" # Останавливаем выполнение строго при неудачных тестах - name: Fail on failed tests diff --git a/package-lock.json b/package-lock.json index 5b1dfa392..43c29afe0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { + "classnames": "^2.5.1", "clsx": "^1.2.1", "react": "^18.2.0", "react-dom": "^18.2.0" @@ -9798,6 +9799,11 @@ "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", "dev": true }, + "node_modules/classnames": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", + "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==" + }, "node_modules/clean-css": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.2.tgz", @@ -30552,6 +30558,11 @@ "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", "dev": true }, + "classnames": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", + "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==" + }, "clean-css": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.3.2.tgz", diff --git a/package.json b/package.json index 492664d1f..bd2ea36d8 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "webpack-dev-server": "^4.15.0" }, "dependencies": { + "classnames": "^2.5.1", "clsx": "^1.2.1", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/src/app/App.tsx b/src/app/App.tsx index dcc0ff8ad..70ded6912 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -1,16 +1,23 @@ import React from 'react'; -import logo from './logo.svg'; +import { Resizer } from 'src/shared/resizer'; import './App.css'; function App() { return (
- Текст писать тут -
-