feat: ci
This commit is contained in:
parent
6ca624f6d2
commit
5fd9a9ed35
|
@ -1,18 +1,18 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: exec
|
||||
name: backset.cn-web dev publish
|
||||
name: backset.cn ci
|
||||
|
||||
steps:
|
||||
- name: 依赖更新
|
||||
commands:
|
||||
- pnpm i
|
||||
|
||||
- name: vite构建
|
||||
- name: apps/web 项目构建
|
||||
commnads:
|
||||
- pnpm build
|
||||
- pnpm build:web
|
||||
|
||||
- name: 发布web服务器
|
||||
commands:
|
||||
- ls
|
||||
- cp -r dist/ /www/wwwroot/nginx/html/backset.cn
|
||||
- cp -r ./apps/web/dist/ /www/wwwroot/nginx/html/backset.cn
|
|
@ -4,13 +4,12 @@
|
|||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev:apps-server": "cd apps/server && pnpm dev:be",
|
||||
"dev:apps-web": "cd apps/web-main && pnpm dev",
|
||||
"dev:apps-web": "cd apps/web && pnpm dev",
|
||||
"dev:apps-admin": "cd apps/admin && pnpm dev",
|
||||
"build:web": "cd apps/web && pnpm build",
|
||||
"build:pkgs": "pnpm build:ui && pnpm build:util",
|
||||
"build:ui": "cd packages/ui && pnpm build",
|
||||
"build:util": "cd packages/util && pnpm build",
|
||||
"new:page": "cd apps/server && pnpm new:page",
|
||||
"new:mvc": "cd apps/server && pnpm new:mvc"
|
||||
"build:util": "cd packages/util && pnpm build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^18.13.0",
|
||||
|
|
2647
pnpm-lock.yaml
2647
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user