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 1616
1717 - name : Install Dependencies # vsce etc
1818 run : | # shell
19- npm i
19+ npm i vsce -g
2020
2121 - name : Setup Github Actions # allow use of `git push`
2222 run : | # shell
2727
2828 - name : Publish Pre-release # upload to Extension Marketplace
2929 run : | # shell
30- npx vsce publish patch --pre-release
30+ vsce publish patch --pre-release
3131 git push --follow-tags
3232 env :
3333 VSCE_PAT : ${{ secrets.VSCE_PAT }}
Original file line number Diff line number Diff line change 2020
2121 - name : Install Dependencies # vsce etc
2222 run : | # shell
23- npm i
23+ npm i vsce -g
2424
2525 - name : Setup Github Actions # allow use of `git push`
2626 run : | # shell
3131
3232 - name : Package Extension # `.vsix` file
3333 run : | # shell
34- npx vsce package ${{ github.event.inputs.version }}
34+ vsce package ${{ github.event.inputs.version }}
3535 git push --follow-tags
3636 echo "VERSION=$(node -p "require('./package.json').version")" >> "$GITHUB_ENV"
3737
4343
4444 - name : Publish Release # upload to Extension Marketplace
4545 run : | # shell
46- npx vsce publish --packagePath json-embedded-languages-$VERSION.vsix
46+ vsce publish --packagePath json-embedded-languages-$VERSION.vsix
4747 env :
4848 VSCE_PAT : ${{ secrets.VSCE_PAT }}
Original file line number Diff line number Diff line change 8383 ]
8484 }
8585 ]
86- },
87- "devDependencies" : {
88- "@vscode/vsce" : " ^3.0.0"
8986 }
9087}
You can’t perform that action at this time.
0 commit comments