File tree Expand file tree Collapse file tree 2 files changed +56
-1
lines changed Expand file tree Collapse file tree 2 files changed +56
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout code
14
+ uses : actions/checkout@v2
15
+
16
+ - name : Setup Node.js environment
17
+ uses : actions/setup-node@v2
18
+ with :
19
+ node-version : ' 14.x'
20
+
21
+ - name : Cache dependencies
22
+ uses : actions/cache@v2
23
+ with :
24
+ path : |
25
+ ./**/node_modules
26
+ ./**/yarn.lock
27
+ key : ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
28
+
29
+ - name : Install dependencies and build
30
+ run : |
31
+ yarn install --frozen-lockfile
32
+ yarn compile
33
+
34
+ - name : Get version
35
+ id : package
36
+ run : echo "::set-output name=version::$(node -p "require('./package.json').version")"
37
+
38
+ - name : Create GitHub release
39
+ id : create_release
40
+ uses : actions/create-release@v1
41
+ env :
42
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43
+ with :
44
+ tag_name : ${{ steps.package.outputs.version }}
45
+ release_name : Release ${{ steps.package.outputs.version }}
46
+ draft : false
47
+ prerelease : false
48
+
49
+ - name : Install vsce
50
+ run : npm install -g vsce
51
+
52
+ - name : Publish to Marketplace
53
+ env :
54
+ VSCE_TOKEN : ${{ secrets.VSCE_TOKEN }}
55
+ run : vsce publish -p ${{ secrets.VSCE_TOKEN }}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " bitloops-lsp-server" ,
3
3
"description" : " BitLoops Language Server" ,
4
- "version" : " 0.3.3 " ,
4
+ "version" : " 0.3.4 " ,
5
5
"publisher" : " Bitloops" ,
6
6
"license" : " MIT" ,
7
7
"engines" : {
You can’t perform that action at this time.
0 commit comments