fix tests; support node frontend building

This commit is contained in:
Ali Abid 2021-10-25 20:41:03 +00:00
parent 79a34636f8
commit 55409a8b2b

View File

@ -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