From 15f0679d2e2ee308c8ac7349a75626b9eaefa3c9 Mon Sep 17 00:00:00 2001 From: Archicratia Date: Fri, 23 Jan 2026 09:19:06 +0100 Subject: [PATCH] ci: validate anchor aliases schema --- .gitea/workflows/ci.yml | 4 ++++ package.json | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 88456fa..b18bccd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -111,3 +111,7 @@ jobs: - name: Anchors contract run: npm run test:anchors + + - name: Anchor aliases schema + run: node scripts/check-anchor-aliases.mjs + diff --git a/package.json b/package.json index 2be8357..0f77ec1 100644 --- a/package.json +++ b/package.json @@ -10,9 +10,10 @@ "postbuild": "node scripts/inject-anchor-aliases.mjs && npx pagefind --site dist", "import": "node scripts/import-docx.mjs", "apply:ticket": "node scripts/apply-ticket.mjs", - "test": "npm run build && npm run test:anchors && node scripts/check-inline-js.mjs", + "test": "npm run test:aliases && npm run build && npm run test:anchors && node scripts/check-inline-js.mjs", "test:anchors": "node scripts/check-anchors.mjs", - "test:anchors:update": "node scripts/check-anchors.mjs --update" + "test:anchors:update": "node scripts/check-anchors.mjs --update", + "test:aliases": "node scripts/check-anchor-aliases.mjs" }, "dependencies": { "@astrojs/mdx": "^4.3.13",