File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ types : [opened, synchronize, reopened]
8+
9+ jobs :
10+ publish-extension :
11+ name : Publish to marketplace
12+ runs-on : ubuntu-latest
13+ environment : Production
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v4
17+
18+ - name : Set up Node.js
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version-file : .nvmrc
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+ {
2+ "tabWidth" : 2
3+ }
You can’t perform that action at this time.
0 commit comments