From b559d532e0afbc005e2f7228ef6c32267757d61f Mon Sep 17 00:00:00 2001 From: Shaosu Liu Date: Thu, 12 Feb 2026 14:22:38 -0800 Subject: [PATCH] Add Renovate config with auto-merge and CI workflow - Add renovate.json with config:base, auto-merge for minor/patch updates (excluding 0.x packages), 3-day stability period - Add CI workflow to run build on PRs and main branch pushes - Auto-merge requires CI checks to pass Co-Authored-By: Claude Opus 4.5 --- .github/workflows/ci.yaml | 18 ++++++++++++++++++ renovate.json | 14 ++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .github/workflows/ci.yaml create mode 100644 renovate.json diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..4601635 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,18 @@ +name: CI +on: + pull_request: + push: + branches: [main] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 + with: + package-manager-cache: false + node-version: 24 + - run: corepack enable + - run: yarn install --immutable + - name: Build + run: yarn build diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..bcbbbb7 --- /dev/null +++ b/renovate.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:base"], + "timezone": "America/Los_Angeles", + "schedule": ["after 10pm on sunday"], + "minimumReleaseAge": "3 days", + "packageRules": [ + { + "matchUpdateTypes": ["minor", "patch"], + "matchCurrentVersion": "!/^0/", + "automerge": true + } + ] +}