File tree Expand file tree Collapse file tree 3 files changed +39
-2
lines changed
Expand file tree Collapse file tree 3 files changed +39
-2
lines changed Original file line number Diff line number Diff line change @@ -12,34 +12,43 @@ jobs:
1212 steps :
1313 - name : Checkout
1414 uses : actions/checkout@v2
15+
1516 - name : Setup Node.js
1617 uses : actions/setup-node@v1
1718 with :
1819 node-version : 14
20+
1921 - name : Install dependencies
2022 run : npm install
23+
2124 - name : Run headless test
2225 uses : GabrielBB/xvfb-action@v1.0
2326 with :
2427 run : npm test
28+
2529 build :
2630 name : Build
2731 runs-on : ubuntu-latest
2832 steps :
2933 - name : Checkout
3034 uses : actions/checkout@v2
35+
3136 - name : Setup Node.js
3237 uses : actions/setup-node@v1
38+
3339 with :
3440 node-version : 14
41+
3542 - name : Install dependencies
3643 run : npm install
44+
3745 - name : Build VSIX extension file
3846 uses : HaaLeo/publish-vscode-extension@v0
3947 id : vsix-build
4048 with :
4149 dryRun : true
4250 pat : stub
51+
4352 - name : Archive the extension build file
4453 uses : actions/upload-artifact@v2
4554 with :
Original file line number Diff line number Diff line change 2929 with :
3030 run : npm test
3131
32+ build :
33+ name : Build
34+ runs-on : ubuntu-latest
35+ steps :
36+ - name : Checkout
37+ uses : actions/checkout@v2
38+
39+ - name : Setup Node.js
40+ uses : actions/setup-node@v1
41+ with :
42+ node-version : 14
43+
44+ - name : Install dependencies
45+ run : npm install
46+
47+ - name : Build VSIX extension file
48+ uses : HaaLeo/publish-vscode-extension@v0
49+ with :
50+ dryRun : true
51+ pat : stub
52+
53+ - name : Archive the extension build file
54+ uses : actions/upload-artifact@v2
55+ with :
56+ name : extension
57+ path : " *.vsix"
58+ retention-days : 1
59+
3260 release :
3361 name : Release
34- needs : test
62+ needs : [ test, build]
3563 runs-on : ubuntu-latest
3664 steps :
3765 - name : Checkout
Original file line number Diff line number Diff line change 1- name : Publish
1+ name : Release
22
33on :
44 release :
You can’t perform that action at this time.
0 commit comments