Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: include html in marimo base (#6653)

Myles Scolnick570a5b04fb1c
diff --git a/.github/workflows/release-marimo-base.yml b/.github/workflows/release-marimo-base.yml
index 98bd4d41c7..076e6720bf 100644
--- a/.github/workflows/release-marimo-base.yml
+++ b/.github/workflows/release-marimo-base.yml
@@ -4,7 +4,7 @@ name: Publish marimo-base release
on:
push:
tags:
- - '[0-9]+.[0-9]+.[0-9]+'
+ - "[0-9]+.[0-9]+.[0-9]+"
workflow_dispatch: {}
env:
@@ -28,6 +28,19 @@ jobs:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
+ - uses: pnpm/action-setup@v4
+ - name: ⎔ Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ cache: "pnpm"
+ cache-dependency-path: "**/pnpm-lock.yaml"
+
+ - name: 📦 Build frontend
+ run: make fe
+ env:
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
+
- name: Install uv
uses: astral-sh/setup-uv@v6
diff --git a/scripts/validate_base_wheel_size.sh b/scripts/validate_base_wheel_size.sh
index 274756729a..ac7164ee6c 100755
--- a/scripts/validate_base_wheel_size.sh
+++ b/scripts/validate_base_wheel_size.sh
@@ -1,5 +1,11 @@
#!/bin/bash
+# Check if marimo/_static/index.html exists
+if [ ! -f "marimo/_static/index.html" ]; then
+ echo "Error: marimo/_static/index.html does not exist"
+ exit 1
+fi
+
wheel_file=$(ls dist/*.whl)
if [[ "$OSTYPE" == "darwin"* ]]; then
# macOS