File tree 1 file changed +14
-17
lines changed 1 file changed +14
-17
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,19 @@ steps:
21
21
- script : npm run build:lib
22
22
displayName : ' Build Library'
23
23
24
+ - task : CopyFiles@2
25
+ inputs :
26
+ sourceFolder : ' $(Build.SourcesDirectory)/dist/angular-reactive-validation/'
27
+ contents : ' **'
28
+ targetFolder : $(Build.ArtifactStagingDirectory)/npm
29
+ displayName : ' Copy artifacts'
30
+
31
+ - task : PublishBuildArtifacts@1
32
+ inputs :
33
+ pathtoPublish : ' $(Build.ArtifactStagingDirectory)/npm'
34
+ artifactName : npm
35
+ displayName : ' Publish npm artifacts'
36
+
24
37
- script : npm run build:app
25
38
displayName : ' Build App'
26
39
@@ -39,20 +52,4 @@ steps:
39
52
inputs :
40
53
codeCoverageTool : ' Cobertura'
41
54
summaryFileLocation : ' $(Build.SourcesDirectory)/coverage/cobertura-coverage.xml'
42
- displayName : ' Publish Code Coverage Results'
43
-
44
- - script : npm pack $(Build.SourcesDirectory)/dist/angular-reactive-validation
45
- displayName : ' Create Package'
46
-
47
- - task : CopyFiles@2
48
- inputs :
49
- sourceFolder : ' $(Build.SourcesDirectory)/dist/angular-reactive-validation/'
50
- contents : ' **'
51
- targetFolder : $(Build.ArtifactStagingDirectory)/npm
52
- displayName : ' Copy artifacts'
53
-
54
- - task : PublishBuildArtifacts@1
55
- inputs :
56
- pathtoPublish : ' $(Build.ArtifactStagingDirectory)/npm'
57
- artifactName : npm
58
- displayName : ' Publish npm artifacts'
55
+ displayName : ' Publish Code Coverage Results'
You can’t perform that action at this time.
0 commit comments