File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Agent Manager Package
2+
3+ on :
4+ release :
5+ types : [created]
6+ workflow_dispatch :
7+ inputs :
8+ tag :
9+ description : " Package version tag (e.g., agent-manager-v0.2.0)"
10+ required : true
11+
12+ jobs :
13+ publish :
14+ name : Publish @ai-devkit/agent-manager to NPM
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : 20
25+ registry-url : " https://registry.npmjs.org"
26+ cache : " npm"
27+
28+ - name : Install dependencies
29+ run : npm ci
30+
31+ - name : Build all packages
32+ run : npm run build
33+
34+ - name : Publish to NPM
35+ working-directory : ./packages/agent-manager
36+ run : npm publish --access public
37+ env :
38+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments