From e0ef581a4634501816d050bb3c26590774a9dd67 Mon Sep 17 00:00:00 2001 From: arteeh Date: Sat, 3 Oct 2026 22:05:32 +0000 Subject: [PATCH] ci: discover page script tests with a glob Replace the explicit test-file list so future scripts/*.test.mjs suites run automatically. Hive-Run: hivecommons/hivecommons.github.io#81 Hive-Plan: issue-81-test-discovery Hive-Spec: issue-81#recommendation Signed-off-by: arteeh --- .github/workflows/links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 09d17cd..6c00448 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -51,7 +51,7 @@ jobs: - name: Self-test check-redirects run: scripts/check-redirects.test.sh - name: Self-test page scripts - run: node --test scripts/story-dialog.test.mjs scripts/acmm-levels.test.mjs scripts/carousels.test.mjs scripts/page-scripts.test.mjs + run: node --test scripts/*.test.mjs redirects: runs-on: ubuntu-latest