mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-18 10:44:33 +08:00
fix tests; support node frontend building
This commit is contained in:
parent
79a34636f8
commit
55409a8b2b
@ -1,6 +1,7 @@
|
||||
version: 2.1
|
||||
orbs:
|
||||
codecov: codecov/codecov@3.1.1
|
||||
node: circleci/node@1.0.1
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
@ -26,6 +27,14 @@ jobs:
|
||||
key: deps1-{{ .Branch }}-{{ checksum "gradio.egg-info/requires.txt" }}
|
||||
paths:
|
||||
- "venv"
|
||||
- node/install
|
||||
- node/install-npm
|
||||
- run:
|
||||
name: Build frontend
|
||||
command: |
|
||||
cd frontend
|
||||
npm install
|
||||
npm run build
|
||||
- run:
|
||||
command: |
|
||||
mkdir screenshots
|
||||
|
Loading…
Reference in New Issue
Block a user