-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (36 loc) · 938 Bytes
/
workflow.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Publish Extension on VS Marketplace
on:
push:
branches:
- masters
paths-ignore:
- ".gitignore"
- ".vscode/**"
defaults:
run:
working-directory: pref-monitor-ci
jobs:
cicd:
name: cicd
runs-on: ubuntu-18.04
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v1
with:
node-version: "14.x"
- name: clean install dependencies
run: npm ci
- name: build and pack V1 task
run: npm run packTaskV1
- name: create Extension
run: npm run create
- name: print vsix path
run: |
echo "VISX path: ${{env.vsix_path}}"
- name: upload extension to artifacts
uses: actions/upload-artifact@v1
with:
name: vsix-extension
path: ${{github.workspace}}/pref-monitor-ci/pref-monitor-ci.**.vsix