Skip to content

Commit 4951e7c

Browse files
author
ole1986
committed
corrected Github action to work with vsce deployment
1 parent 10fb41b commit 4951e7c

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/vsce-publish.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
name: Publish with VSCE
22

3-
on:
3+
on:
44
release:
55
types: [published]
66

77
jobs:
88
build:
9-
109
runs-on: ubuntu-latest
11-
1210
steps:
1311
- uses: actions/checkout@v1
14-
- run: npm install --unsafe-perm
15-
- name: vsce publish
16-
uses: lannonbr/vsce-action@master
1712
with:
18-
args: publish -p ${{ secrets.VSCE_TOKEN }}
13+
submodules: recursive
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: '10.x'
17+
- run: npm install
18+
- run: npm install -g vsce
19+
- name: vsce publish
20+
run: vsce publish -p "${{ secrets.VSCE_TOKEN }}"
1921

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@
366366
}
367367
},
368368
"scripts": {
369-
"vscode:prepublish": "npm run lint && webpack -p",
369+
"vscode:prepublish": "npm run lint && webpack -p --progress",
370370
"compile": "tsc --watch -p ./",
371371
"postinstall": "node ./node_modules/vscode/bin/install",
372372
"lint": "tslint ./src/**/*.ts -t verbose || tslint ./test/**/*.ts -t verbose",

0 commit comments

Comments
 (0)