Skip to content

A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.

ci(web): run the page's own tests

RoversX768de4955af3
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 415b85b3..9bbfa56a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -57,6 +57,18 @@ jobs:
- name: Install dependencies
run: env CI=yes PATH=$PATH ./get-deps
+ # The browser page's own tests (thinkterm-web/ui/tests): Node and the
+ # page's locked packages, no wasm build.
+ - name: Install Node
+ uses: actions/setup-node@v7
+ with:
+ node-version: 22
+
+ - name: Test the web page
+ run: |
+ bash ci/retry.sh npm ci --prefix thinkterm-web/ui --no-audit --no-fund
+ npm test --prefix thinkterm-web/ui
+
# `cargo test` compiles the whole workspace, binaries included, so this
# is the build as well. --no-fail-fast because one crate's failure
# should not hide the rest of the tree's.
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ecdcb519..0aff4d2b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -243,6 +243,9 @@ jobs:
- name: Type-check the page
run: npm run --prefix thinkterm-web/ui check
+ - name: Test the page
+ run: npm test --prefix thinkterm-web/ui
+
- name: Upload
uses: actions/upload-artifact@v7
with: