From 8ec1b1e5d466832a105278094eb19c1caafce356 Mon Sep 17 00:00:00 2001 From: tiny-oss loop Date: Tue, 15 Sep 2026 18:23:24 +0000 Subject: [PATCH] chore(ci): run Azure signer oracle in CI The SharedKey/SAS oracle (test/azure-oracle.node.ts) was only reachable via `pnpm test:azure-oracle`, which no workflow invoked, so a PR that broke Azure signature compatibility merged green. CI's Test job runs `pnpm test:ci:coverage`, so chain the oracle into both CI test scripts. It is a separate Node process (tsx) with no network and no credentials, runs before vitest and aborts the script when it fails. Refs #48 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f8bf73c..97c3d7d 100644 --- a/package.json +++ b/package.json @@ -59,8 +59,8 @@ "test": "vitest", "test:azure-oracle": "tsx test/azure-oracle.node.ts", "test:coverage": "vitest --coverage", - "test:ci": "vitest run --browser.headless", - "test:ci:coverage": "vitest run --browser.headless --coverage", + "test:ci": "pnpm test:azure-oracle && vitest run --browser.headless", + "test:ci:coverage": "pnpm test:azure-oracle && vitest run --browser.headless --coverage", "prepare": "husky" }, "repository": {