Skip to content

Commit 868b84f

Browse files
committed
Simplify npx command invocations
1 parent b156c6f commit 868b84f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
run: npm ci
2222

2323
- name: Package the extension
24-
run: npx -p @vscode/vsce -c 'vsce package'
24+
run: npx vsce package

.github/workflows/publish.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121
run: npm ci
2222

2323
- name: Package extension
24-
run: npx -p @vscode/vsce --yes -c 'vsce package'
24+
run: npx vsce package
2525

2626
- name: Publish on Visual Studio Marketplace
27-
run: npx -p @vscode/vsce --yes -c 'vsce publish -i *.vsix'
27+
run: npx vsce publish -i *.vsix
2828
env:
2929
VSCE_PAT: ${{ secrets.VSCE_PAT }}
3030

3131
- name: Publish on Eclipse Open VSX
32-
run: npx -p ovsx --yes -c 'ovsx publish *.vsix'
32+
run: npx ovsx publish *.vsix
3333
env:
3434
OVSX_PAT: ${{ secrets.OVSX_PAT }}
3535

0 commit comments

Comments
 (0)