Skip to content

Commit 9e3c6f9

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

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

azure-pipelines.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,13 @@ steps:
1515
- script: |
1616
npm install
1717
npm run build
18-
displayName: 'npm install and build'
18+
npm run build-storybook
19+
displayName: 'NPM install and build'
1920

20-
- task: Npm@1
21+
- task: CopyFiles@2
22+
displayName: Move storybook package json
2123
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'
24+
SourceFolder: '.storybook'
25+
Contents: 'package.json'
26+
TargetFolder: 'storybook-static'
27+
OverWrite: true

0 commit comments

Comments
 (0)