From b5877e04563ba708e336f07d62566ef48824f777 Mon Sep 17 00:00:00 2001 From: Mark Bennett Date: Mon, 9 Feb 2026 12:17:54 -0700 Subject: [PATCH] Add CI pipeline for linting, type checking, and tests This pipeline runs on every push to any branch and ensures: - Code follows linting standards (Biome) - TypeScript compilation succeeds - All tests pass Co-Authored-By: Claude Sonnet 4.5 --- .tangled/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .tangled/workflows/ci.yml diff --git a/.tangled/workflows/ci.yml b/.tangled/workflows/ci.yml new file mode 100644 index 0000000..0a5dfde --- /dev/null +++ b/.tangled/workflows/ci.yml @@ -0,0 +1,32 @@ +# CI Pipeline - Run linting, type checking, and tests on all pushes +# +# This pipeline ensures code quality by running checks on every push to any branch. + +when: + - event: ["push", "manual"] + branch: ["*"] + +engine: nixery + +# Clone repository to get all source files +clone: true + +dependencies: + nixpkgs: + - nodejs_22 + +environment: + NODE_ENV: "test" + +steps: + - name: "Install dependencies" + command: "npm ci" + + - name: "Run linting" + command: "npm run lint" + + - name: "Run type checking" + command: "npm run typecheck" + + - name: "Run tests" + command: "npm test" -- knotmirror 0.0.1