Skip to content

Commit

Permalink
Upload tweak (#7206)
Browse files Browse the repository at this point in the history
* make uploadprogress display consistently in custom components

* add engines

* add changeset

* add changeset

* bump ci pnpm version

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
  • Loading branch information
3 people committed Jan 29, 2024
1 parent e418edd commit 572e360
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/eager-rivers-rescue.md
@@ -0,0 +1,6 @@
---
"@gradio/upload": patch
"gradio": patch
---

feat:Upload tweak
2 changes: 1 addition & 1 deletion .github/actions/install-frontend-deps/action.yml
Expand Up @@ -28,7 +28,7 @@ runs:
if: steps.frontend-cache.outputs.cache-hit != 'true' || inputs.always-install-pnpm == 'true'
uses: pnpm/action-setup@v2
with:
version: 8.9
version: 8.15
- uses: actions/setup-node@v4
with:
node-version: 18
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/backend.yml
Expand Up @@ -89,7 +89,7 @@ jobs:
if: steps.frontend-cache.outputs.cache-hit != 'true'
uses: pnpm/action-setup@v2
with:
version: 8
version: 8.15
- uses: actions/setup-node@v4
if: steps.frontend-cache.outputs.cache-hit != 'true'
with:
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
if: steps.frontend-cache.outputs.cache-hit != 'true'
uses: pnpm/action-setup@v2
with:
version: 8
version: 8.15
- uses: actions/setup-node@v4
if: steps.frontend-cache.outputs.cache-hit != 'true'
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-pr.yml
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
version: 8.15
- uses: actions/setup-node@v4
with:
node-version: 18
Expand Down
1 change: 1 addition & 0 deletions js/upload/src/UploadProgress.svelte
Expand Up @@ -111,6 +111,7 @@
align-items: center;
justify-content: center;
min-height: var(--size-40);
width: var(--size-full);
}
.wrap::after {
Expand Down
4 changes: 4 additions & 0 deletions package.json
Expand Up @@ -105,5 +105,9 @@
"react-dom": "^18.2.0",
"storybook": "^7.5.1",
"wikidata-lang": "^4.1.2"
},
"engines": {
"node": ">=18.0.0",
"pnpm": "~8.15.0"
}
}

0 comments on commit 572e360

Please sign in to comment.