Skip to content

Commit 02cda31

Browse files
committed
add workflow for publishing updates to the vscode extension and bump he version number.
1 parent 1ad18ff commit 02cda31

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish VS Code Extension
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- "vscode/**"
9+
10+
jobs:
11+
publish:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: "22"
21+
22+
- name: Install dependencies and build
23+
working-directory: ./vscode
24+
run: |
25+
npm install
26+
npm run compile
27+
28+
- name: Publish to VS Code Marketplace
29+
working-directory: ./vscode
30+
run: npx vsce publish --pat ${{ secrets.VSCODE_MARKETPLACE_TOKEN }}

0 commit comments

Comments
 (0)