File tree Expand file tree Collapse file tree 1 file changed +9
-19
lines changed Expand file tree Collapse file tree 1 file changed +9
-19
lines changed Original file line number Diff line number Diff line change 11on :
2- push :
3- release :
4- types :
5- - created
2+ release :
3+ types :
4+ - created
65
7- name : Build and Deploy Extension
6+ name : Publish Extension
87jobs :
9- build :
10- runs-on : ubuntu-latest
11- steps :
12- - name : Checkout
13- uses : actions/checkout@v2
14- - name : Install Node.js
15- uses : actions/setup-node@v1
16- with :
17- node-version : 10.x
18- - run : npm install
19- - run : xvfb-run -a npm test
208 deploy :
219 runs-on : ubuntu-latest
2210 steps :
11+ - uses : actions/checkout@v2
12+ - uses : actions/setup-node@v1
13+ with :
14+ node-version : 12
15+ - run : npm ci
2316 - name : Publish to Open VSX Registry
2417 uses : HaaLeo/publish-vscode-extension@v0
25- id : publishToOpenVSX
2618 with :
2719 pat : ${{ secrets.OPEN_VSX_TOKEN }}
2820 - name : Publish to Visual Studio Marketplace
2921 uses : HaaLeo/publish-vscode-extension@v0
3022 with :
3123 pat : ${{ secrets.VS_MARKETPLACE_TOKEN }}
3224 registryUrl : https://marketplace.visualstudio.com
33- extensionFile : ${{ steps.publishToOpenVSX.outputs.vsixPath }}
34- packagePath : ' '
3525
You can’t perform that action at this time.
0 commit comments