Skip to content

One-click character swap for videos: an open-source, local Higgsfield Genjutsu alternative built on ComfyUI and MiniMax H3, with FLUX.3 Klein relighting.

Add CI workflow for tests and build (#10)

mixbagdfd8627c10ca
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..a8e1b9a
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,25 @@
+name: CI
+
+on:
+ pull_request:
+ push:
+ branches: [main]
+
+permissions:
+ contents: read
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ env:
+ NEXT_TELEMETRY_DISABLED: 1
+ steps:
+ - uses: actions/checkout@v5
+ - uses: actions/setup-node@v5
+ with:
+ # package.json engines needs >=22.6.0 for --experimental-strip-types.
+ node-version: 22
+ cache: npm
+ - run: npm ci
+ - run: npm test
+ - run: npm run build