Skip to content

[CI/CD] 添加持续集成配置 #6

Description

@newtontech

问题描述

Electron + Three.js 项目缺少 CI/CD 配置。

建议行动

创建 .github/workflows/ci.yml

name: CI

on:
  push:
    branches: [main]
  pull_request:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '20'
          cache: 'npm'
      - run: npm ci
      - run: npm run lint
      - run: npm test
      - run: npm run build

验收标准

  • 添加 GitHub Actions CI 配置
  • 自动运行 lint 和 test
  • README 添加 CI 徽章

🤖 由 OpenClaw 工程扫描自动创建

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions