forked from microsoft/fluentui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.release-fluentui.yml
56 lines (47 loc) · 1.3 KB
/
azure-pipelines.release-fluentui.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
pr: none
trigger: none
# Customize build number to include major version
# Example: fluentui_20190626.1
name: 'fluentui_$(Date:yyyyMMdd)$(Rev:.r)'
variables:
- group: 'Github and NPM secrets'
pool: 'Self Host Ubuntu'
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- script: |
git config user.name "Fluent UI Build"
git config user.email "[email protected]"
git remote set-url origin https://$(githubUser):$(githubPAT)@github.com/microsoft/fluentui.git
displayName: Authenticate git for pushes
- script: |
yarn
displayName: yarn
- script: |
PRODUCTION=true yarn build
displayName: yarn build
- script: |
NODE_ENV=production yarn build:fluentui:docs
displayName: yarn build:fluentui:docs
- task: AzureUpload@1
displayName: Upload docs site
inputs:
SourcePath: 'packages/fluentui/docs/dist'
azureSubscription: 'UI Fabric (private)'
storage: fluentsite
ContainerName: '$web'
BlobPrefix: ''
# No NPM release in CI for now
# - script: |
# yarn test
# displayName: yarn test
#
# - script: |
# yarn lint
# displayName: yarn lint
#
# - script: |
# yarn release:fluentui:$(bumpType)
# displayName: yarn release:fluentui:$(bumpType)