guanghulab/.github/copilot-setup-steps.yml
Guanghu Domestic Migration d1e47f4565
Some checks are pending
自动更新代码和重启 / update-and-restart (push) Waiting to run
CI检查 + 自动部署 / check (push) Waiting to run
CI检查 + 自动部署 / deploy (push) Blocked by required conditions
重启聊天服务 / restart (push) Waiting to run
chore: import sanitized domestic snapshot for REPO-002
Source snapshot: ca48d3ddf926d79aa138306164169baf764bb829
2026-07-17 15:54:41 +08:00

28 lines
1.2 KiB
YAML

# ═══════════════════════════════════════════════════════════
# Copilot Cloud Agent · 环境配置
# 光湖语言世界 · HoloLake · AGE OS
# ═══════════════════════════════════════════════════════════
# 此文件在 Copilot Agent 防火墙启用前运行
# 用于安装依赖和配置开发环境
# ═══════════════════════════════════════════════════════════
name: "Copilot Setup Steps"
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install server dependencies
run: |
if [ -f server/package.json ]; then
cd server && npm ci --ignore-scripts 2>/dev/null || npm install --ignore-scripts
fi
- name: Install root dependencies
run: |
if [ -f package.json ]; then
npm ci --ignore-scripts 2>/dev/null || npm install --ignore-scripts
fi