File tree 3 files changed +41
-1
lines changed
3 files changed +41
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish extension
2
+ on :
3
+ release :
4
+ types : [published]
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ publish :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout
13
+ uses : actions/checkout@v4
14
+
15
+ - name : Install Node.js
16
+ uses : actions/setup-node@v4
17
+ with :
18
+ node-version : 20
19
+
20
+ - name : Install dependencies
21
+ run : npm ci
22
+
23
+ - name : Create Docker image for json schema generation
24
+ run : make build
25
+
26
+ - name : Generate json schema
27
+ run : make run
28
+
29
+ - name : Build extension
30
+ run : npm run build
31
+
32
+ - name : Install vsce
33
+ run : npm install -g @vscode/vsce
34
+
35
+ - name : Publish extension
36
+ run : vsce publish --no-update-package-json "$VSCE_VERSION"
37
+ env :
38
+ VSCE_PAT : ${{ secrets.VSCE_PAT }}
39
+ VSCE_VERSION : ${{ github.event.release.tag_name }}
Original file line number Diff line number Diff line change 3
3
run :
4
4
docker rm user-schema || true
5
5
docker run --name user-schema convert-user-schema python script.py
6
+ mkdir -p schemas
6
7
docker cp user-schema:/app/codecov.json ./schemas/codecov.json
Original file line number Diff line number Diff line change 13
13
"bugs" : {
14
14
"url" : " https://github.com/codecov/vscode/issues"
15
15
},
16
- "version" : " 0.0.6 " ,
16
+ "version" : " 0.0.0 " ,
17
17
"repository" : " https://github.com/codecov/vscode" ,
18
18
"engines" : {
19
19
"vscode" : " ^1.85.0"
You can’t perform that action at this time.
0 commit comments