-
Notifications
You must be signed in to change notification settings - Fork 3
/
azure-pipelines.yml
57 lines (45 loc) · 1.29 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
pr: [master]
trigger: [master]
pool:
vmImage: 'Ubuntu 16.04'
variables:
- group: fluent-secrets
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- script: |
yarn
displayName: yarn
- script: |
yarn build
displayName: yarn build
- script: |
yarn test
displayName: yarn test
- script: |
yarn lint
displayName: yarn lint
- script: |
yarn checkchange
displayName: yarn check for change files
- task: AzureUpload@1
displayName: 'Upload to Azure'
inputs:
SourcePath: 'packages/pr-deploy-site/dist'
azureSubscription: 'UI Fabric'
storage: 'fluentui'
ContainerName: '$web'
BlobPrefix: 'pr-deploy-site/$(Build.SourceBranch)'
- task: GithubPRStatus@0
displayName: 'Update Github Pull Request Status'
inputs:
githubOwner: microsoft
githubRepo: 'fluent-ui-react-staging'
githubContext: 'Pull Request Deployed Site'
githubDescription: 'Click "Details" to go to the Deployed Site'
githubTargetLink: 'https://fluentui.z5.web.core.windows.net/pr-deploy-site/$(Build.SourceBranch)/'
- script: |
yarn workspace @fluentui/scripts just projrefs:verify
displayName: yarn check for correct tsconfig.json project references