diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml index 779b18f35b..82641b37b8 100644 --- a/.github/workflows/ui.yml +++ b/.github/workflows/ui.yml @@ -64,15 +64,15 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: install gradio - run: python -m pip install gradio==$(cat gradio/version.txt) - - name: generate theme.css - run: python scripts/generate_theme.py --outfile js/storybook/theme.css - name: install dependencies uses: "./.github/actions/install-all-deps" with: always-install-pnpm: true skip_build: 'true' + - name: generate theme.css + run: | + . venv/bin/activate + python scripts/generate_theme.py --outfile js/storybook/theme.css - name: build storybook run: pnpm build-storybook --quiet - name: publish to chromatic