Skip to content

Commit e051194

Browse files
committed
github action
1 parent d5e696b commit e051194

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/publish.yml

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

0 commit comments

Comments
 (0)