From dc252b8275c10ca56138cdb7457159449f07ef00 Mon Sep 17 00:00:00 2001 From: hmmhmmhm Date: Wed, 15 Jul 2026 13:38:22 +0900 Subject: [PATCH] fix(deploy): materialize API region database --- .github/workflows/deploy-api.yml | 2 +- scripts/qa-workflows.test.mjs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml index 470b72e0..52ec66ad 100644 --- a/.github/workflows/deploy-api.yml +++ b/.github/workflows/deploy-api.yml @@ -64,7 +64,7 @@ jobs: - name: Materialize verified region data env: REGION_DATA_BASE_URL: ${{ vars.REGION_DATA_BASE_URL }} - run: node scripts/sync-region-data.mjs --groups region-dist --prune + run: node scripts/sync-region-data.mjs --groups region-dist,region-db --prune - name: Type check API run: pnpm --filter api-ground-codes check-types diff --git a/scripts/qa-workflows.test.mjs b/scripts/qa-workflows.test.mjs index 6859c3b3..95e12323 100644 --- a/scripts/qa-workflows.test.mjs +++ b/scripts/qa-workflows.test.mjs @@ -370,9 +370,9 @@ describe("verified R2 region-data workflow materialization", () => { } }); - test("syncs region-dist before API verification, import detection, and build", () => { + test("syncs both groups before API verification, import detection, and build", () => { const workflow = readText("../.github/workflows/deploy-api.yml"); - const syncStep = assertPublicSyncStep(workflow, "region-dist"); + const syncStep = assertPublicSyncStep(workflow, "region-dist,region-db"); const detectorStep = workflowStep( workflow, "Detect changed region datasets",