commit
Try this?
diff --git a/.gitignore b/.gitignore
index 6e47fe9..71204c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,6 @@ node_modules
!.dev.vars.example
assets/
dist/
+
+# Deno fetched by scripts/ci.sh in CI
+.deno/
diff --git a/scripts/ci.sh b/scripts/ci.sh
new file mode 100755
index 0000000..6638e88
--- /dev/null
+++ b/scripts/ci.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+# scripts/ci.sh
+
+# Cloudflare's build image has no Deno: fetch a pinned copy, then install, build and deploy
+set -eu
+
+DENO_VERSION="v2.9.8"
+export DENO_INSTALL="$PWD/.deno"
+export PATH="$DENO_INSTALL/bin:$PATH"
+
+if ! command -v deno >/dev/null 2>&1; then
+ curl -fsSL https://deno.land/install.sh | sh -s -- -y --no-modify-path "$DENO_VERSION"
+fi
+
+deno --version
+deno install --frozen
+
+# wrangler runs `deno task build` itself, from wrangler.jsonc
+deno task deploy "$@"