Merge branch 'main' of https://gitea.mpak-8501.ru/admin/shop-client
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
@kirill.komarov
2026-06-16 21:54:51 +05:00
3 changed files with 9 additions and 46 deletions
+3 -21
View File
@@ -1,23 +1,5 @@
when:
branch: main
event: push
steps: steps:
install: test:
image: node:20 image: alpine
commands: commands:
- npm ci - echo "Hello"
build:
image: node:20
commands:
- npm run build
depends_on: [install]
deploy:
image: alpine:latest
commands:
- apk add --no-cache openssh rsync
- rsync -e "ssh -i /ssh/deploy_key" -avz --delete dist/ root@192.168.1.88:/var/www/
secrets: [deploy_key]
depends_on: [build]
+3 -23
View File
@@ -1,23 +1,3 @@
# shop-client — витрина и админка магазина ручной работы # shop-client
---
React + Vite + TypeScript + MUI. FSD-архитектура, @tanstack/react-query. Test CI_n
## Запуск
npm ci
npm run dev
Откройте http://localhost:5173. API проксируется на http://127.0.0.1:3333.
Требуется shop-server рядом (../../shop-server/shared/ для @shared/ alias).
## Команды
| Command | Description |
|---|---|
| npm run dev | Vite dev server |
| npm run build | tsc + vite build |
| npm run lint | ESLint |
| npm run lint:fix | ESLint --fix |
| npm run format | Prettier |
| npm test | vitest run |
+1
View File
@@ -0,0 +1 @@
test