This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
forked from OfficeDev/script-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
70 lines (62 loc) · 1.78 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
trigger:
branches:
include:
- master
- beta
- production
pr:
branches:
include:
- master
- beta
- production
variables:
tags: 'multi-phased'
isPR: $[ne(variables['System.PullRequest.PullRequestId'], '')]
jobs:
- job: PreBuild
pool: Azure-Pipelines-EO-Windows2022-Office
displayName: 'Pre Build'
steps:
- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3
displayName: 'Run Credential Scanner'
inputs:
debugMode: false
- task: securedevelopmentteam.vss-secure-development-tools.build-task-eslint.ESLint@1
displayName: 'Run ESLint'
- job: CommonPipeline
dependsOn: PreBuild
displayName: 'Common Pipeline'
steps:
- template: package-pipeline-template.yml
parameters:
PackageDirectory: 'packages/common'
PackageName: 'common'
SiteName: 'script-lab-react-storybook'
- job: EditorPipeline
dependsOn: PreBuild
displayName: 'Editor Pipeline'
steps:
- template: package-pipeline-template.yml
parameters:
PackageDirectory: 'packages/editor'
PackageName: 'editor'
SiteName: 'script-lab-react'
- job: RunnerPipeline
dependsOn: PreBuild
displayName: 'Runner Pipeline'
steps:
- template: package-pipeline-template.yml
parameters:
PackageDirectory: 'packages/runner'
PackageName: 'runner'
SiteName: 'script-lab-react-runner'
- job: ServerPipeline
dependsOn: PreBuild
displayName: 'Server Pipeline'
steps:
- template: package-pipeline-template.yml
parameters:
PackageDirectory: 'packages/server'
PackageName: 'server'
SiteName: 'script-lab-react-server'