From 0af57b2dc5b704226a66adcd75d342f71d779a4c Mon Sep 17 00:00:00 2001 From: Michael Thom Date: Mon, 31 Aug 2026 17:32:51 -0400 Subject: [PATCH] CI: run the test suite on push and pull request The repository ships a 64-test suite covering role permissions, the destructive-operation guard, secret redaction and parallel-write scope serialization, but nothing ran it automatically. A regression in any of those safety guards could reach main unnoticed. Adds a workflow that runs `npm test` (build + node --test) on Node 20, matching the `engines.node >=20` constraint in package.json. Co-Authored-By: Claude Opus 5 --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..2bc0781 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: npm + - run: npm ci + - run: npm test