File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,22 @@ steps:
22
22
versionSpec : ' 10.15.3'
23
23
displayName : ' Install Node'
24
24
25
- - script : cd ../react-native-azurenotificationhub-sample && npm install
25
+ - script : npm install
26
26
displayName : ' Install dependencies'
27
+ workingDirectory : ' ../react-native-azurenotificationhub-sample'
27
28
28
29
- script : |
29
30
rm -R ../react-native-azurenotificationhub-sample/node_modules/react-native-azurenotificationhub
30
31
cp -R ../react-native-azurenotificationhub ../react-native-azurenotificationhub-sample/node_modules
31
32
displayName : ' Copying react-native-azurenotificationhub'
32
33
33
- - script : cd ../react-native-azurenotificationhub-sample && npm run lint
34
+ - script : npm run lint
34
35
displayName : ' Run lint'
36
+ workingDirectory : ' ../react-native-azurenotificationhub-sample'
35
37
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'
38
41
39
42
- task : Gradle@2
40
43
displayName : ' Building Android'
@@ -45,10 +48,10 @@ steps:
45
48
continueOnError : false
46
49
47
50
- script : |
48
- cd ../react-native-azurenotificationhub-sample/ios
49
51
pod install
50
52
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'
52
55
53
56
- task : Xcode@5
54
57
displayName : ' Building iOS'
You can’t perform that action at this time.
0 commit comments