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:
13
13
- name : Setup Node.js
14
14
uses : actions/setup-node@v4
15
15
with :
16
- node-version : 18 .x
16
+ node-version : 20 .x
17
17
- name : Setup NPM
18
18
run : |
19
19
npm install
20
- npm install -g vsce ovsx
20
+ npm install -g ovsx
21
21
npm run compile
22
22
- name : Publish
23
23
if : success()
24
24
run : |
25
- vsce publish
26
25
ovsx publish
27
26
env :
28
- VSCE_PAT : ${{ secrets.VSCE_PAT }}
29
27
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