Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

Commit cb6bd78

Browse files
authored
Create publish.yml
1 parent f94a7b1 commit cb6bd78

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish VSCode Extension
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
jobs:
9+
publish:
10+
name: Publish extension to VSCode Marketplace
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Install Node.js
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: "12"
19+
20+
- name: Install dependencies
21+
run: npm install
22+
23+
- name: Publish extension
24+
run: ./node_modules/.bin/vsce publish -p $VSCE_PAT
25+
env:
26+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 commit comments

Comments
 (0)