File tree Expand file tree Collapse file tree 2 files changed +27
-10
lines changed Expand file tree Collapse file tree 2 files changed +27
-10
lines changed Original file line number Diff line number Diff line change 55 pull_request :
66 branches :
77 - master
8- release :
9- types :
10- - created
118jobs :
129 build :
1310 strategy :
3431 pip install cfn-lint
3532 pip install pydot
3633 - run : npm run lint
37- if : runner.os != 'Linux'
3834 - run : xvfb-run -a npm run test
3935 if : runner.os == 'Linux'
40- - name : Publish
41- if : success() && startsWith( github.ref, 'refs/tags/releases/') && matrix.os == 'ubuntu-latest'
42- run : vsce publish
43- env :
44- VSCE_PAT : ${{ secrets.VSCE_PAT }}
45-
36+ - run : npm run test
37+ if : runner.os != 'Linux'
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@v2
13+ - name : Setup Node.js
14+ uses : actions/setup-node@v1
15+ with :
16+ node-version : 10.x
17+ - name : Setup NPM
18+ run : |
19+ npm install
20+ npm run compile
21+ - name : Publish
22+ if : success()
23+ run : vsce publish
24+ env :
25+ VSCE_PAT : ${{ secrets.VSCE_PAT }}
You can’t perform that action at this time.
0 commit comments