File tree Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,15 @@ jobs:
1313 - name : Setup Node.js
1414 uses : actions/setup-node@v4
1515 with :
16- node-version : 18 .x
16+ node-version : 20 .x
1717 - name : Setup NPM
1818 run : |
1919 npm install
20- npm install -g vsce ovsx
20+ npm install -g ovsx
2121 npm run compile
2222 - name : Publish
2323 if : success()
2424 run : |
25- vsce publish
2625 ovsx publish
2726 env :
28- VSCE_PAT : ${{ secrets.VSCE_PAT }}
2927 OVSX_PAT : ${{ secrets.OVSX_PAT }}
Original file line number Diff line number Diff line change 1+ name : Upload package to VSCode Marketplace
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ deploy :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v4
13+ - name : Setup Node.js
14+ uses : actions/setup-node@v4
15+ with :
16+ node-version : 20.x
17+ - name : Setup NPM
18+ run : |
19+ npm install
20+ npm install -g vsce
21+ npm run compile
22+ - name : Publish
23+ if : success()
24+ run : |
25+ vsce publish
26+ env :
27+ VSCE_PAT : ${{ secrets.VSCE_PAT }}
You can’t perform that action at this time.
0 commit comments