Skip to content

Commit 9445ef3

Browse files
committed
2 parents 431dd86 + c8ecb9d commit 9445ef3

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

.github/workflows/publish.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Publish VSCode Extension
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch: # Allow manual triggering
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: '18'
20+
cache: 'npm'
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Run tests
26+
run: npm test
27+
28+
- name: Install VSCE
29+
run: npm install -g @vscode/vsce
30+
31+
- name: Package extension
32+
run: vsce package
33+
34+
- name: Publish to VSCode Marketplace
35+
run: vsce publish -p ${{ secrets.VSCE_PAT }}
36+
env:
37+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Codegen IDE",
44
"description": "VSCode Extension for Codegen - Create and manage async code agents",
55
"version": "0.1.0",
6-
"publisher": "codegen-sh",
6+
"publisher": "codegen",
77
"engines": {
88
"vscode": "^1.74.0"
99
},
@@ -156,5 +156,9 @@
156156
},
157157
"dependencies": {
158158
"axios": "^1.6.0"
159+
},
160+
"repository": {
161+
"type": "git",
162+
"url": "https://github.com/codegen-sh/codegen-ide.git"
159163
}
160164
}

0 commit comments

Comments
 (0)