kumarabhirup f43cdb0a6e
chore: strip upstream-only GitHub Actions and slim CI
Remove workflows irrelevant to this fork (auto-response, stale,
labeler, docker-release, install-smoke, formal-conformance,
sandbox-common-smoke). Slim ci.yml to just check + test jobs,
dropping iOS/macOS/Android/Windows/secrets/docs/release lanes.
Clean dependabot.yml of Swift and Gradle entries.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-16 23:13:23 -08:00

56 lines
1.3 KiB
YAML

name: CI
on:
push:
branches: [main]
pull_request:
concurrency:
group: ci-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
check:
name: "check"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: false
- name: Setup Node environment
uses: ./.github/actions/setup-node-env
- name: Check types and lint and oxfmt
run: pnpm check
test:
needs: [check]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- runtime: node
command: pnpm canvas:a2ui:bundle && pnpm test
- runtime: bun
command: pnpm canvas:a2ui:bundle && bunx vitest run --config vitest.unit.config.ts
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: false
- name: Setup Node environment
uses: ./.github/actions/setup-node-env
- name: Configure Node test resources
if: matrix.runtime == 'node'
run: |
echo "OPENCLAW_TEST_WORKERS=2" >> "$GITHUB_ENV"
echo "OPENCLAW_TEST_MAX_OLD_SPACE_SIZE_MB=8192" >> "$GITHUB_ENV"
- name: Run tests (${{ matrix.runtime }})
run: ${{ matrix.command }}