2023-03-05 17:17:04 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2023-03-06 10:00:18 +08:00
|
|
|
type: docker
|
2023-03-05 17:20:11 +08:00
|
|
|
name: backset.cn ci
|
2023-03-05 17:17:04 +08:00
|
|
|
|
|
|
|
steps:
|
2023-03-05 17:42:12 +08:00
|
|
|
- name: 基础环境
|
2023-03-06 09:53:10 +08:00
|
|
|
image: node:16.19-alpine
|
2023-03-05 17:42:12 +08:00
|
|
|
commnads:
|
|
|
|
- node -v
|
|
|
|
- npm -v
|
|
|
|
|
2023-03-06 10:00:18 +08:00
|
|
|
# - name: 依赖更新
|
|
|
|
# commands:
|
|
|
|
# - npm install
|
2023-03-05 17:17:04 +08:00
|
|
|
|
2023-03-06 10:00:18 +08:00
|
|
|
# - name: apps/web 项目构建
|
|
|
|
# commnads:
|
|
|
|
# - npm run build:web
|
2023-03-05 17:17:04 +08:00
|
|
|
|
2023-03-06 10:00:18 +08:00
|
|
|
# - name: 发布web服务器
|
|
|
|
# commands:
|
|
|
|
# - ls
|
|
|
|
# - cp -r ./apps/web/dist/ /www/wwwroot/nginx/html/backset.cn
|