Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 23, 03:00 UTC
Add changesets
haxzie committed
May 19, 2025 at 19:49 UTC
9f5a03575b79e17f2f47df01846621e7cd96ffd4
2 files changed
+39
-2
.github/workflows/release.yml
new
+36
@@ -0,0 +1,36 @@
1
+name: Release & Publish
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+jobs:
9
+ release:
10
+ name: Version Bump, Release, and Publish
11
+ runs-on: ubuntu-latest
12
+
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
+ with:
17
+ fetch-depth: 0
18
+
19
+ - name: Setup Node.js
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: 18
23
+ registry-url: 'https://registry.npmjs.org'
24
+
25
+ - name: Install dependencies
26
+ run: pnpm install
27
+ shell: bash
28
+
29
+ - name: Create version PR or publish
30
+ uses: changesets/action@v1
31
+ with:
32
+ version: pnpm changeset:version
33
+ publish: pnpm changeset:release
34
+ env:
35
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package.json
+3
-2
@@ -17,9 +17,10 @@
17
"create:provider": "bash scripts/create-provider.sh",
18
"check:peer-deps": "tsx scripts/check-peer-deps.ts",
19
"update:peer-deps": "tsx scripts/update-peer-deps.ts",
20
- "publish": "lerna publish --no-private",
20
"prepublish": "pnpm run build",
22
- "changeset": "changeset"
21
+ "changeset": "changeset",
22
+ "changeset:version": "changeset version",
23
+ "changeset:release": "changeset publish"
24
},
25
"packageManager": "pnpm@10.8.0",
26
"devDependencies": {