File tree 3 files changed +41
-0
lines changed
3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ publish-extension :
8
+ name : Publish to marketplace
9
+ runs-on : ubuntu-latest
10
+ environment : production
11
+ steps :
12
+ - name : Checkout repository
13
+ uses : actions/checkout@v4
14
+ with :
15
+ fetch-depth : 0
16
+
17
+ - name : Set up Node.js
18
+ uses : actions/setup-node@v4
19
+ with :
20
+ node-version-file : .nvmrc
21
+ cache : yarn
22
+
23
+ - name : Install dependencies
24
+ run : yarn install
25
+
26
+ - name : Publish to Open VSX Registry
27
+ id : publishToOpenVSX
28
+ uses : HaaLeo/publish-vscode-extension@v1
29
+ with :
30
+ pat : ${{ secrets.OPEN_VSX_TOKEN }}
31
+
32
+ - name : Publish to Visual Studio Marketplace
33
+ uses : HaaLeo/publish-vscode-extension@v1
34
+ with :
35
+ pat : ${{ secrets.VS_MARKETPLACE_TOKEN }}
36
+ registryUrl : https://marketplace.visualstudio.com
37
+ extensionFile : ${{ steps.publishToOpenVSX.outputs.vsixPath }}
Original file line number Diff line number Diff line change
1
+ v21.1.0
Original file line number Diff line number Diff line change
1
+ {
2
+ "tabWidth" : 2
3
+ }
You can’t perform that action at this time.
0 commit comments