Skip to content

Commit 18f5031

Browse files
authored
add workflow (#473)
1 parent ca07b5e commit 18f5031

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
push:
3+
tags:
4+
- "*"
5+
6+
name: Publish extension to marketplace
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 20
15+
- run: npm ci
16+
- name: Publish to Visual Studio Marketplace
17+
uses: HaaLeo/publish-vscode-extension@v1
18+
with:
19+
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
20+
registryUrl: https://marketplace.visualstudio.com

0 commit comments

Comments
 (0)