From e4392f34330d28fd2059e6b04ae6bd3f19a4895f Mon Sep 17 00:00:00 2001 From: Robert DeLanghe <1240090+bdelanghe@users.noreply.github.com> Date: Sun, 28 Jun 2026 17:53:10 -0400 Subject: [PATCH] ci: add GitHub Actions workflow (npm ci + node test/run.mjs) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The kit had no CI, so every PR showed "no checks reported" and the test suite was only ever run locally. Add a minimal workflow — pinned actions (SHA + version comment, matching lone's house style), Node 22.x with npm cache, `npm ci` then `npm test` — on push to main, pull_request, and manual dispatch. Verified locally: `npm ci && npm test` → 12 passed, 0 failed. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1984cab --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,17 @@ +name: ci +# Full gate: install pinned deps + run the kit test suite (node test/run.mjs). +on: + push: { branches: [main] } + pull_request: + workflow_dispatch: +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 + with: + node-version: 22.x + cache: npm + - run: npm ci + - run: npm test