Skip to content

Commit 5b700c5

Browse files
authored
Automated deploy with github action (#3)
* Created Deploy / Publish Action * Changed to recommended way of using yarn
1 parent 3c913ef commit 5b700c5

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/publish.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: VSCode Marketplace Deploy / Publish
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 and dependencies
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: "12"
19+
- run: yarn install
20+
21+
- name: Publish extension
22+
run: ./node_modules/.bin/vsce publish -p $VSCE_PAT
23+
env:
24+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 commit comments

Comments
 (0)