Update env.example for latest services in test repo #80
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - "**" | |
| concurrency: | |
| group: build-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: "Build and Install" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Build client | |
| run: | | |
| cd client | |
| npm install | |
| npm run build | |
| cd .. | |
| - name: Move client dist to package | |
| run: | | |
| mkdir -p pipecat_ai_prebuilt/client | |
| cp -r client/dist pipecat_ai_prebuilt/client/ | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v3 | |
| with: | |
| version: "latest" | |
| - name: Set up Python | |
| run: uv python install 3.12 | |
| - name: Install development dependencies | |
| run: uv sync --group dev | |
| - name: Build project | |
| run: uv build | |
| - name: Install project in editable mode | |
| run: uv pip install --editable . | |
| - name: Verify installation | |
| run: uv run python -c "from pipecat_ai_prebuilt.frontend import PipecatPrebuiltUI; print('Package imported successfully')" |