forked from microsoft/redux-micro-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-gated-build.yml
72 lines (68 loc) · 1.66 KB
/
azure-gated-build.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
trigger:
- main
jobs:
- job: BuildLibrary
displayName: Build Library
pool:
vmImage: ubuntu-latest
steps:
- task: NodeTool@0
inputs:
versionSpec: '12.x'
checkLatest: true
- task: Npm@1
displayName: Install Dependencies
inputs:
command: 'install'
- task: Npm@1
displayName: Build Library
inputs:
command: 'custom'
customCommand: 'run build'
- task: Npm@1
displayName: Test
inputs:
command: 'custom'
customCommand: 'run test'
- job: BuildSample
displayName: Build Sample Projects
pool:
vmImage: ubuntu-latest
steps:
- task: NodeTool@0
inputs:
versionSpec: '12.x'
checkLatest: true
- task: Npm@1
displayName: Install Counter App Dependencies
inputs:
command: 'install'
workingDir: 'sample/counterApp'
- task: Npm@1
displayName: Build Counter App
inputs:
command: 'custom'
customCommand: 'run build'
workingDir: 'sample/counterApp'
- task: Npm@1
displayName: Install Todo App Dependencies
inputs:
command: 'install'
workingDir: 'sample/todoApp'
- task: Npm@1
displayName: Build Todo App
inputs:
command: 'custom'
customCommand: 'run build'
workingDir: 'sample/todoApp'
- task: Npm@1
displayName: Install Shell Dependencies
inputs:
command: 'install'
workingDir: 'sample/shell'
- task: Npm@1
displayName: Build Shell
inputs:
command: 'custom'
customCommand: 'run build'
workingDir: 'sample/shell'