We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b837375 commit 0e0d5a7Copy full SHA for 0e0d5a7
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,28 @@
1
+name: Publish Extension
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
14
+ - uses: actions/setup-node@v4
15
+ with:
16
+ node-version: 20
17
18
+ - run: npm ci
19
20
+ - run: npm run check-types
21
22
+ - name: Sync version from tag
23
+ run: npm version ${GITHUB_REF#refs/tags/v} --no-git-tag-version
24
25
+ - name: Publish to Marketplace
26
+ run: npx @vscode/vsce publish --no-dependencies
27
+ env:
28
+ VSCE_PAT: ${{ secrets.VSCE_PAT }}
0 commit comments