diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6974fc87..7d498f32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,12 @@ jobs: bun install bun run build + - name: Build playground + run: | + cd monorepo/apps/di-playground + bun install + bun run build + - name: Upload test harness for Pages uses: actions/upload-artifact@v4 with: @@ -64,6 +70,12 @@ jobs: name: docs-dist path: monorepo/apps/docs-starlight/dist/ + - name: Upload playground for Pages + uses: actions/upload-artifact@v4 + with: + name: playground-dist + path: monorepo/apps/di-playground/dist/ + # Deploy to GitHub Pages deploy-pages: name: Deploy to GitHub Pages @@ -89,6 +101,12 @@ jobs: name: test-harness-dist path: ./pages-site/test-harness + - name: Download playground build + uses: actions/download-artifact@v4 + with: + name: playground-dist + path: ./pages-site/playground + - name: Create root index page run: | cat > ./pages-site/index.html << 'EOF' @@ -130,7 +148,7 @@ jobs: } .links { display: grid; - grid-template-columns: 1fr 1fr; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; } @@ -184,6 +202,10 @@ jobs:

๐Ÿงช Interactive Examples

Live demos and transformations you can try right now

+ +

๐ŸŽฎ Playground

+

Interactive code editor with live transformation preview

+