Skip to content

Commit 100a882

Browse files
committed
fix: repair protected-branch release flow
1 parent 9181bf9 commit 100a882

6 files changed

Lines changed: 68 additions & 138 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"copilotkit": patch
3+
---
4+
5+
A2UI v0.9 + Open Generative UI: BYOC catalogs, dark mode, sandboxed UI generation

.changeset/stupid-parents-run.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"@copilotkit/react-core": minor
44
"@copilotkit/runtime": minor
55
"@copilotkit/shared": patch
6-
"@copilotkit/cli": patch
76
---
87

98
A2UI v0.9 + Open Generative UI: BYOC catalogs, dark mode, sandboxed UI generation

.github/workflows/publish_release.yml

Lines changed: 0 additions & 136 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: publish / release
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
9+
concurrency: ${{ github.workflow }}-${{ github.ref }}
10+
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
15+
env:
16+
NX_VERBOSE_LOGGING: true
17+
18+
jobs:
19+
release:
20+
runs-on: ubuntu-latest
21+
timeout-minutes: 20
22+
steps:
23+
- name: Checkout Repo
24+
uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
27+
28+
- name: Setup pnpm
29+
uses: pnpm/action-setup@v4
30+
with:
31+
version: "10.13.1"
32+
33+
- name: Setup Node
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: 20.x
37+
registry-url: https://registry.npmjs.org
38+
39+
- name: Install Dependencies
40+
run: pnpm install --frozen-lockfile
41+
42+
- name: Configure Nx Cloud environment
43+
run: |
44+
echo "NX_CI_EXECUTION_ID=${{ github.run_id }}-${{ github.run_attempt }}-release" >> "$GITHUB_ENV"
45+
echo "NX_CLOUD_NO_TIMEOUTS=true" >> "$GITHUB_ENV"
46+
echo "NX_CLOUD_DISTRIBUTED_EXECUTION=false" >> "$GITHUB_ENV"
47+
echo "NX_NO_CLOUD=true" >> "$GITHUB_ENV"
48+
49+
- name: Create Release PR or Publish
50+
id: changesets
51+
uses: changesets/action@v1
52+
with:
53+
version: pnpm changeset version
54+
publish: pnpm ci:publish-release
55+
commit: "chore: version packages"
56+
title: "chore: version packages"
57+
createGithubReleases: false
58+
env:
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
61+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

examples/showcases/generative-ui-playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@ag-ui/a2a-middleware": "^0.0.2",
1515
"@ag-ui/client": "^0.0.42",
1616
"@ag-ui/mcp-apps-middleware": "^0.0.1",
17-
"@copilotkit/a2ui-renderer": "^0.0.2",
17+
"@copilotkit/a2ui-renderer": "workspace:*",
1818
"@copilotkit/core": "workspace:*",
1919
"@copilotkit/react-core": "workspace:*",
2020
"@copilotkit/runtime": "workspace:*",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"demo:angular": "nx run-many -t dev --projects=examples/v2/angular/demo,examples/v2/angular/demo-server",
2323
"demo:react": "pnpm -C examples/v2/react/demo dev",
2424
"changeset": "changeset",
25+
"ci:publish-release": "pnpm run build && pnpm changeset publish --no-git-tag",
2526
"prepare": "lefthook install",
2627
"graph": "nx graph",
2728
"publint": "nx run-many -t publint --projects=packages/**",

0 commit comments

Comments
 (0)