File tree Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff line change 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 },
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}
You can’t perform that action at this time.
0 commit comments