From 4603d568fcbf277ca2f6b45529ad7ce0c836c1ed Mon Sep 17 00:00:00 2001 From: Steve Dunham Date: Fri, 3 Apr 2026 20:50:21 -0700 Subject: [PATCH] ci for todomvc --- .github/workflows/publish.yml | 5 +++++ todomvc/.gitignore | 4 ++-- todomvc/{public => }/index.html | 0 todomvc/{public => }/style.css | 0 4 files changed, 7 insertions(+), 2 deletions(-) rename todomvc/{public => }/index.html (100%) rename todomvc/{public => }/style.css (100%) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6b32108..b799410 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,6 +35,11 @@ jobs: ./build vite build # vite build --base /newt + - name: build todomvc + run: | + cd todomvc + node ../build/newt.js src/Todo.newt -o app.js + vite build --base /todomvc --outDir ../playground/dist/todomvc - name: Upload playground id: deployment uses: actions/upload-pages-artifact@v3 diff --git a/todomvc/.gitignore b/todomvc/.gitignore index 4813571..e0c0d35 100644 --- a/todomvc/.gitignore +++ b/todomvc/.gitignore @@ -1,2 +1,2 @@ -public/app.js -public/dist +app.js +dist diff --git a/todomvc/public/index.html b/todomvc/index.html similarity index 100% rename from todomvc/public/index.html rename to todomvc/index.html diff --git a/todomvc/public/style.css b/todomvc/style.css similarity index 100% rename from todomvc/public/style.css rename to todomvc/style.css