test: add test infrastructure with CI workflow and image-gen unit tests

This commit is contained in:
Jim Liu 宝玉
2026-03-13 16:17:01 -05:00
parent 70d9f63727
commit ac217d5402
10 changed files with 861 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
name: Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
node-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Run tests
run: npm test