build essential packages fpor functional tests (#9802)

This commit is contained in:
pngwn 2024-10-22 20:21:02 +01:00 committed by GitHub
parent ebd904db75
commit cc39d3b737
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 1 deletions

View File

@ -51,6 +51,8 @@ jobs:
python_version: "3.10"
test: true
- run: pnpm exec playwright install chromium firefox
- name: build essential packages
run: pnpm --filter @gradio/utils --filter @gradio/theme package
- name: Run Lite E2E tests
run: |
. venv/bin/activate

View File

@ -57,6 +57,8 @@ jobs:
python -m pip install -r demo/outbreak_forecast/requirements.txt
python -m pip install -r demo/stream_video_out/requirements.txt
- run: pnpm exec playwright install chromium firefox
- name: build essential packages
run: pnpm --filter @gradio/utils --filter @gradio/theme package
- name: run browser tests
env:
GRADIO_SSR_MODE: ${{ matrix.ssr }}

View File

@ -8,7 +8,8 @@
"license": "ISC",
"private": false,
"scripts": {
"generate": "pollen -c src/pollen.config.cjs"
"generate": "pollen -c src/pollen.config.cjs",
"package": "svelte-package --input=. --cwd=../../.config/"
},
"exports": {
".": {