feat(react): dogfood native Registry rendering (#1244) #133
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: Deploy LangGraph | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - '.github/workflows/deploy-langgraph.yml' | |
| - 'cockpit/langgraph/**/python/**' | |
| - 'cockpit/deep-agents/**/python/**' | |
| - 'examples/chat/python/**' | |
| - 'libs/cockpit-registry/src/lib/capability-registry.ts' | |
| - 'scripts/generate-shared-deployment-config.ts' | |
| - 'deployments/shared-dev/langgraph.json' | |
| workflow_dispatch: | |
| inputs: | |
| capability: | |
| description: 'Deprecated and ignored by the shared deployment flow' | |
| required: false | |
| type: string | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| permissions: | |
| contents: read | |
| env: | |
| DO_NOT_TRACK: '1' | |
| jobs: | |
| deploy: | |
| name: Update shared cockpit-dev-free on LangGraph Cloud | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - run: npm ci | |
| - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | |
| with: | |
| python-version: '3.12' | |
| - name: Install uv | |
| run: pip install uv | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0 | |
| - name: Generate shared deployment manifest | |
| run: npx tsx scripts/generate-shared-deployment-config.ts | |
| - name: Write .env for shared deployment | |
| run: | | |
| mkdir -p deployments/shared-dev | |
| echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" > deployments/shared-dev/.env | |
| # An explicit ID fails closed if the free deployment is missing. Name | |
| # lookup can create a paid replacement, so never use --name here. | |
| - name: Update existing cockpit-dev-free | |
| working-directory: deployments/shared-dev | |
| run: uv run --with langgraph-cli==0.4.21 langgraph deploy --config langgraph.json --deployment-id 6d350054-14ea-4031-8463-010ec27f9059 --no-wait | |
| env: | |
| LANGSMITH_API_KEY: ${{ secrets.LANGSMITH_API_KEY }} |