Skip to content

Commit

Permalink
Add option expose static folder (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-to authored Oct 26, 2024
1 parent 6981902 commit bd09013
Show file tree
Hide file tree
Showing 14 changed files with 1,814 additions and 11 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ jobs:
name: playwright-report-with-memory-state-session
path: playwright-report-with-memory-state-session/
retention-days: 30
- name: Run playwright test with static folder
run: MESOP_STATIC_FOLDER=mesop/static PLAYWRIGHT_HTML_OUTPUT_DIR=playwright-report-with-static-folder yarn playwright test mesop/tests/e2e/static_folder_test.ts
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
if: always()
with:
name: playwright-report-with-static-folder
path: playwright-report-with-static-folder/
retention-days: 30
# Deploy docs
deploy-docs:
# Only deploy docs if we're pushing to main (see on.push.branches)
Expand Down
2 changes: 2 additions & 0 deletions demo/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
import slider as slider
import snackbar as snackbar
import table as table
import tailwind as tailwind
import text as text
import text_to_image as text_to_image
import text_to_text as text_to_text
Expand Down Expand Up @@ -131,6 +132,7 @@ class Section:
name="Integrations",
examples=[
Example(name="bootstrap"),
Example(name="tailwind"),
],
),
]
Expand Down
Loading

0 comments on commit bd09013

Please sign in to comment.