forked from microsoft/vscode-gulp-electron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
42 lines (38 loc) · 938 Bytes
/
azure-pipelines.yml
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
trigger:
batch: true
branches:
include:
- main
pr: [main]
resources:
repositories:
- repository: templates
type: github
name: microsoft/vscode-engineering
ref: main
endpoint: Monaco
parameters:
- name: publishPackage
displayName: 🚀 Publish
type: boolean
default: false
extends:
template: azure-pipelines/npm-package/pipeline.yml@templates
parameters:
npmPackages:
- name: gulp-electron
buildSteps:
- script: npm ci
testPlatforms:
- name: Linux
nodeVersions: [14.x, 16.x, 17.x]
- name: MacOS
nodeVersions: [14.x, 16.x, 17.x]
- name: Windows
nodeVersions: [14.x, 16.x, 17.x]
testSteps:
- script: npm ci
- script: npm test
env:
GITHUB_TOKEN: "$(github-token)"
publishPackage: ${{ parameters.publishPackage }}