Skip to content

Commit

Permalink
Publish new release to VSCode marketplace action (#21)
Browse files Browse the repository at this point in the history
* Publish new release to VSCode marketplace action

* add newline

Co-authored-by: Александр Степанченко <kellas@Aleksandrs-MacBook-Pro.local>
Co-authored-by: Alex Step <to@alexstep.com>
  • Loading branch information
3 people committed Jan 20, 2021
1 parent 0364755 commit 39d01c6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish-vscode-extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish release to VSCode marketplace

on:
release:
types:
- created

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci
- run: npm test
- uses: lannonbr/vsce-action@master
with:
args: "publish -p $VSCE_TOKEN"
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}

0 comments on commit 39d01c6

Please sign in to comment.