This commit is contained in:
@@ -32,17 +32,19 @@ steps:
|
||||
- cd /drone/src
|
||||
- git checkout ${DRONE_BRANCH}
|
||||
- echo "✅ 当前分支:$(git rev-parse --abbrev-ref HEAD)"
|
||||
- echo "当前目录"
|
||||
- ls
|
||||
volumeMounts:
|
||||
- name: repo-volume
|
||||
mountPath: /drone/src
|
||||
|
||||
# 1️⃣ 验证 + 安装依赖 + 类型检查 + lint + 测试 + 构建
|
||||
- name: verify-and-build
|
||||
image: gitea.local.knowai/tobegold574/knowai-base:latest
|
||||
image: gitea.local.knowai/tobegold574/knowai-base
|
||||
environment:
|
||||
NODE_ENV: development
|
||||
commands:
|
||||
- cd /drone/src/frontend/knowai-core
|
||||
- cd /drone/src/knowai-core
|
||||
|
||||
# 验证 Node.js 和 pnpm
|
||||
- node --version
|
||||
|
||||
Reference in New Issue
Block a user