Skip to content

Commit 07e0e9d

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent cb5475c commit 07e0e9d

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

azure-pipelines.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
# Add steps that analyze code, save build artifacts, deploy, and more:
44
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
55

6-
trigger:
7-
- master
8-
96
pool:
107
vmImage: 'ubuntu-latest'
118

@@ -18,4 +15,21 @@ steps:
1815
- script: |
1916
npm install
2017
npm run build
21-
displayName: 'npm install and build'
18+
displayName: 'npm install and build'
19+
20+
- task: Npm@1
21+
inputs:
22+
command: 'install'
23+
customEndpoint: 'NPM'
24+
25+
- task: Npm@1
26+
inputs:
27+
command: 'custom'
28+
customCommand: 'run build'
29+
customEndpoint: 'NPM'
30+
31+
- task: Npm@1
32+
inputs:
33+
command: 'custom'
34+
customCommand: 'run build-storybook'
35+
customEndpoint: 'NPM'

0 commit comments

Comments
 (0)