Skip to content

Commit 05b4b66

Browse files
authored
use npm run to do the deploy (#166)
1 parent d65f19a commit 05b4b66

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
npm run compile
2121
- name: Publish
2222
if: success()
23-
run: vsce publish
23+
run: npm run deploy
2424
env:
2525
VSCE_PAT: ${{ secrets.VSCE_PAT }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@
6565
"compile:server": "tsc -p ./server/tsconfig.json",
6666
"watch:server": "tsc -w -p ./server/tsconfig.json",
6767
"test": "node ./client/out/test/runTest.js",
68-
"lint": "eslint -c .eslintrc.js --ext .ts server/ && eslint -c .eslintrc.js --ext .ts client/"
68+
"lint": "eslint -c .eslintrc.js --ext .ts server/ && eslint -c .eslintrc.js --ext .ts client/",
69+
"deploy": "vsce publish"
6970
},
7071
"devDependencies": {
7172
"@types/mocha": "^2.2.42",

0 commit comments

Comments
 (0)