Skip to content

Commit 21797b6

Browse files
authored
add ci
1 parent d3a39f2 commit 21797b6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v2
14+
with:
15+
node-version: 14.x
16+
- if: startsWith( github.ref, 'refs/tags/')
17+
run: npx vsce publish
18+
env:
19+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 commit comments

Comments
 (0)