File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,19 +19,19 @@ jobs:
1919
2020 steps :
2121 - name : Checkout
22- uses : actions/checkout@v3
22+ uses : actions/checkout@v4
2323 with :
2424 fetch-depth : 0
2525
2626 - name : Setup pnpm
2727 uses : pnpm/action-setup@v2
2828 with :
29- version : 8
29+ version : 9
3030
3131 - name : Setup Node.js
32- uses : actions/setup-node@v3
32+ uses : actions/setup-node@v4
3333 with :
34- node-version : 18
34+ node-version : 18.x
3535 cache : ' pnpm'
3636
3737 - name : Install dependencies
4343 run : npx semantic-release
4444
4545 - name : Publish Extension
46- run : npx @vscode/vsce publish -p ${{ secrets.VSCE_PAT }} --no-dependencies
46+ run : npm run deploy
47+ env :
48+ VSCE_PAT : ${{ secrets.VSCE_PAT }}
Original file line number Diff line number Diff line change 285285 "esbuild" : " pnpm run esbuild-base --sourcemap" ,
286286 "watch" : " pnpm run esbuild-base --sourcemap --watch" ,
287287 "test-compile" : " tsc -p ./" ,
288- "prepare" : " husky install"
288+ "prepare" : " husky install" ,
289+ "deploy" : " vsce publish"
289290 },
290291 "devDependencies" : {
291292 "@semantic-release/changelog" : " ^6.0.3" ,
299300 "@typescript-eslint/eslint-plugin" : " ^5.38.1" ,
300301 "@typescript-eslint/parser" : " ^5.38.1" ,
301302 "@vscode/test-electron" : " ^2.1.5" ,
303+ "@vscode/vsce" : " ^3.3.2" ,
302304 "conventional-changelog-conventionalcommits" : " ^5.0.0" ,
303305 "esbuild" : " ^0.15.13" ,
304306 "eslint" : " ^8.24.0" ,
You can’t perform that action at this time.
0 commit comments