File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,19 +22,22 @@ steps:
2222 versionSpec : ' 10.15.3'
2323 displayName : ' Install Node'
2424
25- - script : cd ../react-native-azurenotificationhub-sample && npm install
25+ - script : npm install
2626 displayName : ' Install dependencies'
27+ workingDirectory : ' ../react-native-azurenotificationhub-sample'
2728
2829- script : |
2930 rm -R ../react-native-azurenotificationhub-sample/node_modules/react-native-azurenotificationhub
3031 cp -R ../react-native-azurenotificationhub ../react-native-azurenotificationhub-sample/node_modules
3132 displayName : ' Copying react-native-azurenotificationhub'
3233
33- - script : cd ../react-native-azurenotificationhub-sample && npm run lint
34+ - script : npm run lint
3435 displayName : ' Run lint'
36+ workingDirectory : ' ../react-native-azurenotificationhub-sample'
3537
36- - script : cd ../react-native-azurenotificationhub-sample && npm run test
37- displayName : ' Run unit tests'
38+ - script : npm run test
39+ displayName : ' Run unit tests'
40+ workingDirectory : ' ../react-native-azurenotificationhub-sample'
3841
3942- task : Gradle@2
4043 displayName : ' Building Android'
@@ -45,10 +48,10 @@ steps:
4548 continueOnError : false
4649
4750- script : |
48- cd ../react-native-azurenotificationhub-sample/ios
4951 pod install
5052 sudo cp -R ../node_modules/react-native-azurenotificationhub/ios Pods/RNAzureNotificationHub
51- displayName : ' Install CocoaPods dependencies'
53+ displayName : ' Install CocoaPods dependencies'
54+ workingDirectory : ' ../react-native-azurenotificationhub-sample/ios'
5255
5356- task : Xcode@5
5457 displayName : ' Building iOS'
You can’t perform that action at this time.
0 commit comments