Skip to content

Commit 1967291

Browse files
Create Publish.yaml
1 parent 939ef94 commit 1967291

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/Publish.yaml

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: Deploy Extension
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: yarn test
16+
- name: Publish to Visual Studio Marketplace
17+
uses: HaaLeo/publish-vscode-extension@v2
18+
with:
19+
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
20+
registryUrl: https://marketplace.visualstudio.com

0 commit comments

Comments
 (0)