Skip to content

Commit 2ad122c

Browse files
committed
update workflow so that npm installs dev packages and use npx to call vsce
1 parent 723f528 commit 2ad122c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,8 @@ jobs:
126126

127127
- name: Build VSCode pacakge
128128
run: |
129-
npm install
130-
npm install -g vsce
131-
vsce package -o dist
129+
npm install --dev
130+
npx vsce package -o dist
132131
133132
- name: Upload VSCode package
134133
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)