Skip to content

Commit 1116213

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent 6107b56 commit 1116213

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

azure-pipelines.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ steps:
1313
checkLatest: true
1414
displayName: 'Install Node.js'
1515

16+
- task: npmAuthenticate@0
17+
inputs:
18+
workingFile: '.npmrc'
19+
customEndpoint: 'NPM'
20+
1621
- script: |
1722
npm install
1823
npm run build
@@ -27,10 +32,13 @@ steps:
2732
TargetFolder: 'storybook-static'
2833
OverWrite: true
2934

30-
- task: npmAuthenticate@0
35+
- task: CopyFiles@2
36+
displayName: Move .npmrc
3137
inputs:
32-
workingFile: '.npmrc'
33-
customEndpoint: 'NPM'
38+
SourceFolder: '.'
39+
Contents: '.npmrc'
40+
TargetFolder: 'storybook-static'
41+
OverWrite: true
3442

3543
- task: npmAuthenticate@0
3644
inputs:

0 commit comments

Comments
 (0)