debug
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
tobegold574
2025-11-10 22:23:24 +08:00
parent 109b43ba96
commit 35c53a0936

View File

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