File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 16
16
17
17
- name : Install Dependencies # vsce etc
18
18
run : | # shell
19
- npm i
19
+ npm i vsce -g
20
20
21
21
- name : Setup Github Actions # allow use of `git push`
22
22
run : | # shell
27
27
28
28
- name : Publish Pre-release # upload to Extension Marketplace
29
29
run : | # shell
30
- npx vsce publish patch --pre-release
30
+ vsce publish patch --pre-release
31
31
git push --follow-tags
32
32
env :
33
33
VSCE_PAT : ${{ secrets.VSCE_PAT }}
Original file line number Diff line number Diff line change 20
20
21
21
- name : Install Dependencies # vsce etc
22
22
run : | # shell
23
- npm i
23
+ npm i vsce -g
24
24
25
25
- name : Setup Github Actions # allow use of `git push`
26
26
run : | # shell
31
31
32
32
- name : Package Extension # `.vsix` file
33
33
run : | # shell
34
- npx vsce package ${{ github.event.inputs.version }}
34
+ vsce package ${{ github.event.inputs.version }}
35
35
git push --follow-tags
36
36
echo "VERSION=$(node -p "require('./package.json').version")" >> "$GITHUB_ENV"
37
37
43
43
44
44
- name : Publish Release # upload to Extension Marketplace
45
45
run : | # shell
46
- npx vsce publish --packagePath json-embedded-languages-$VERSION.vsix
46
+ vsce publish --packagePath json-embedded-languages-$VERSION.vsix
47
47
env :
48
48
VSCE_PAT : ${{ secrets.VSCE_PAT }}
Original file line number Diff line number Diff line change 83
83
]
84
84
}
85
85
]
86
- },
87
- "devDependencies" : {
88
- "@vscode/vsce" : " ^3.0.0"
89
86
}
90
87
}
You can’t perform that action at this time.
0 commit comments