Skip to content

Commit b442f3d

Browse files
committed
Add channel connector release workflow
1 parent 4a26455 commit b442f3d

2 files changed

Lines changed: 60 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Publish Channel Connector Package
2+
3+
on:
4+
release:
5+
types: [created]
6+
workflow_dispatch:
7+
inputs:
8+
tag:
9+
description: 'Package version tag (e.g., channel-connector-v0.1.0)'
10+
required: true
11+
12+
jobs:
13+
publish:
14+
name: Publish @ai-devkit/channel-connector 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/channel-connector
36+
run: npm publish --access public
37+
env:
38+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
src/
2+
tsconfig.json
3+
.eslintrc.json
4+
*.test.ts
5+
*.spec.ts
6+
.DS_Store
7+
node_modules/
8+
.git/
9+
.vscode/
10+
.idea/
11+
*.log
12+
ai.plan.md
13+
docs/
14+
.ai-devkit.json
15+
.cursor/
16+
.github/
17+
.agent/
18+
.claude/
19+
.gemini/
20+
AGENTS.md
21+
jest.config.js
22+
project.json

0 commit comments

Comments
 (0)