gradio/scripts/build_frontend.sh
Hannah acec00f60b
Improve chromatic workflow (#4770)
* only run post deployment link on PRs

* add check for chromatic token job

* replace deprecated  set-output with github_env

* tweak

* add turbosnap config for vite

* sb tweak

* remove (incompatible) turbosnap

* remove redundant flag

* remove turbosnap
2023-07-05 15:18:21 +02:00

13 lines
181 B
Bash

#!/bin/bash
cd "$(dirname ${0})/.."
source scripts/helpers.sh
pnpm_required
python scripts/generate_theme.py
echo "Building the frontend..."
pnpm i --frozen-lockfile
pnpm build