commit ea120a621883c1116e9655f583713bd63f8fee5f
parent 04be6bde4a5112c2b4400f02a95c2e58476d9e25
Author: Henry Unite <unitehenry@gmail.com>
Date: Sun, 25 Oct 2026 02:24:50 +0000
ci: run ./scripts/test after lint, format, and typecheck pass
- Add 'test' job to CI workflow
- Job depends on lint, typecheck, format
- Runs ./scripts/install then ./scripts/test
- Ensures tests only run if previous checks pass
Diffstat:
1 file changed, 21 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
@@ -80,3 +80,24 @@ jobs:
echo "::error::Format changed files. Run ./scripts/format and commit the result."
exit 1
fi
+
+ test:
+ name: test
+ runs-on: ubuntu-latest
+ needs: [lint, typecheck, format]
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v7
+ with:
+ persist-credentials: false
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v7
+ with:
+ node-version: 24
+
+ - name: Install
+ run: ./scripts/install
+
+ - name: Test
+ run: ./scripts/test