openpencil/.github/workflows/ci.yml
Kayshen-X 80dcda0bf1 feat(electron): enhance Electron app integration and CI/CD workflows
- Add new commands for Electron development, compilation, and building processes in CLAUDE.md.
- Update README.md to reflect the availability of the application as both a web and desktop app.
- Introduce a FixedChecklist component in the AI chat panel for better user interaction with generated tasks.
- Implement CI/CD workflows for automated testing and Electron builds in GitHub Actions.
- Refactor design generator prompts to support element-by-element streaming for improved performance.
2026-02-21 15:22:23 +08:00

56 lines
1 KiB
YAML

name: CI
on:
push:
branches: [main, v0.0.1]
pull_request:
branches: [main, v0.0.1]
jobs:
lint-and-test:
name: Lint & Test
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Type check
run: npx tsc --noEmit
- name: Run tests
run: bun --bun run test
build-web:
name: Build Web
runs-on: ubuntu-latest
timeout-minutes: 10
needs: lint-and-test
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build
run: bun --bun run build
- name: Upload web build artifact
uses: actions/upload-artifact@v4
with:
name: web-build
path: .output/
retention-days: 7