Git of record moves to git.hanzo.ai; GitHub becomes a mirror.
- .gitea/workflows/{ci,publish}.yml — native pipeline on hanzo-build-linux-amd64
act_runners. publish.yml pulls Chrome Web Store + Firefox AMO + npm creds from
KMS via the machine identity (no store cred in any Actions secret store).
- deploy/kms/extension-publish-kms-sync.yaml — KMSSecret CR; canonical KMS path
hanzo:/extension-publish (env prod) for the store creds.
- .github/workflows/sync.yml — mirror main+tags to git.hanzo.ai (the only thing
GitHub does as system of record; no-op until HANZO_GIT_TOKEN seeded).
- .github/workflows/publish.yml — remove store-publish steps (CWS/AMO/VSCE/OVSX/
JetBrains — all no-ops today, those secrets never existed on GitHub). Keep the
live npm publish (interim) + the downloadable GitHub Release.
- docs: PUBLISHING.md + LLM.md rewritten to the native topology.
Non-breaking: npm publish (@hanzo/browser-extension) untouched. No store publish
in this pass. Gated on operator: seed KMS store values, Gitea secrets, mirror.
50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
YAML
# Native CI — Hanzo Git act_runners (label hanzo-build-linux-amd64).
|
|
# amd64 test + build gate; mirrors the amd64 lanes of .github/workflows/ci.yml.
|
|
# The macOS (Safari) and cross-platform Playwright matrix stay on GitHub-hosted
|
|
# runners until native macOS/Windows act_runners are green
|
|
# (runners-act-migration.md Phase 2). act_runner reads this unmodified;
|
|
# GitHub.com ignores .gitea/workflows, so the GitHub release lanes are untouched.
|
|
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches: [main, dev]
|
|
tags: ['v*']
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: hanzo-build-linux-amd64
|
|
container: node:22-bookworm
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: corepack enable
|
|
- run: pnpm install --frozen-lockfile
|
|
|
|
# Shared workspace lib first — consumers import its built dist/.
|
|
- run: pnpm --filter @hanzo/cards build
|
|
- run: pnpm --filter @hanzo/browser-extension test
|
|
- run: pnpm --filter @hanzo/aci test
|
|
- run: pnpm --filter @hanzo/auth test
|
|
|
|
build:
|
|
runs-on: hanzo-build-linux-amd64
|
|
container: node:22-bookworm
|
|
needs: [test]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: corepack enable
|
|
- run: pnpm install --frozen-lockfile
|
|
|
|
- name: Build browser extension
|
|
working-directory: packages/browser
|
|
run: node src/build.js
|
|
|
|
- name: Check bundle budgets
|
|
working-directory: packages/browser
|
|
run: |
|
|
[ -f dist/browser-extension/background.js ] || node src/build.js
|
|
pnpm run check:bundle-budget
|
|
continue-on-error: true
|