Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit ad85d6d

Browse files
committed
Set up CI with Azure Pipelines
[skip ci]
1 parent 9318b5f commit ad85d6d

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,9 @@ steps:
2323
inputs:
2424
script: yarn run prepublishOnly
2525

26-
- task: CmdLine@2
27-
inputs:
28-
script: |
29-
npm pack
30-
31-
- task: CopyFiles@2
32-
inputs:
33-
sourceFolder: '$(Build.SourcesDirectory)'
34-
contents: '*.tgz'
35-
targetFolder: $(Build.ArtifactStagingDirectory)/npm
36-
displayName: 'Copy npm package'
37-
38-
- task: CopyFiles@2
39-
inputs:
40-
sourceFolder: '$(Build.SourcesDirectory)'
41-
contents: 'package.json'
42-
targetFolder: $(Build.ArtifactStagingDirectory)/npm
43-
displayName: 'Copy package.json'
44-
45-
- task: PublishBuildArtifacts@1
26+
- task: DownloadGitHubRelease@0
4627
inputs:
47-
pathtoPublish: '$(Build.ArtifactStagingDirectory)/npm'
48-
artifactName: npm
49-
displayName: 'Publish npm artifact'
28+
connection: 'react-native-windows'
29+
userRepository: CalculatorPackage
30+
defaultVersionType: 'latest'
31+
downloadPath: '$(System.ArtifactsDirectory)'

0 commit comments

Comments
 (0)