File tree Expand file tree Collapse file tree 3 files changed +45
-15
lines changed Expand file tree Collapse file tree 3 files changed +45
-15
lines changed Original file line number Diff line number Diff line change 1
1
on : [push, pull_request]
2
2
3
3
jobs :
4
- build :
5
- strategy :
6
- matrix :
7
- os : [macos-latest, ubuntu-latest, windows-latest]
8
- runs-on : ${{ matrix.os }}
9
- steps :
10
- - name : Checkout
11
- uses : actions/checkout@v2
12
- - name : Install Node.js
13
- uses : actions/setup-node@v1
14
- with :
15
- node-version : 10.x
16
- - run : yarn install
17
- - run : yarn vscode:prepublish
4
+ build :
5
+ strategy :
6
+ matrix :
7
+ os : [macos-latest, ubuntu-latest, windows-latest]
8
+ runs-on : ${{ matrix.os }}
9
+ steps :
10
+ - name : Checkout
11
+ uses : actions/checkout@v2
12
+ - name : Install Node.js
13
+ uses : actions/setup-node@v1
14
+ with :
15
+ node-version : 10.x
16
+ - run : yarn install
17
+ - run : yarn vscode:prepublish
18
+ - name : " Package"
19
+ run : npx vsce package
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ tags :
4
+ - v*
5
+
6
+ jobs :
7
+ publish :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Checkout
11
+ uses : actions/checkout@v2
12
+ - name : Install Node.js
13
+ uses : actions/setup-node@v1
14
+ with :
15
+ node-version : 10.x
16
+ - run : yarn install
17
+ - name : " Prepublish"
18
+ run : yarn vscode:prepublish
19
+ - name : " Publish"
20
+ run : npx vsce publish --yarn --pat ${{ secrets.MARKETPLACE_TOKEN }}
Original file line number Diff line number Diff line change 2
2
"trailingComma" : " es5" ,
3
3
"tabWidth" : 4 ,
4
4
"semi" : true ,
5
- "useTabs" : true
5
+ "useTabs" : true ,
6
+ "overrides" : [
7
+ {
8
+ "files" : [" *.yml" ],
9
+ "options" : {
10
+ "tabWidth" : 2
11
+ }
12
+ }
13
+ ]
6
14
}
You can’t perform that action at this time.
0 commit comments