Skip to content

Commit a4c6d42

Browse files
committed
👷 Setup Github Actions deploy
1 parent 0e3255a commit a4c6d42

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy
2+
3+
# on:
4+
# push:
5+
# tags:
6+
# - "*"
7+
on:
8+
push:
9+
branches: [master]
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: actions/setup-node@v2
17+
with:
18+
node-version: '14'
19+
20+
- name: Install
21+
run: npm install -g vsce && npm install
22+
23+
- name: Build
24+
run: npm ci
25+
26+
- name: Prepublish
27+
run: npm run vscode:prepublish
28+
29+
- name: Deploy
30+
run: vsce publish -p $VS_TOKEN

0 commit comments

Comments
 (0)