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

Commit 31fab5c

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent 5926b55 commit 31fab5c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

azure-pipelines.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,30 @@ steps:
5050
inputs:
5151
scriptName: 'TestApp\Calculator_$(PackageManifest)_Test\Add-AppDevPackage.ps1'
5252
arguments: '-NonInteractive -Force:$true -Verb RunAs'
53+
54+
- task: PowerShell@2
55+
displayName: 'Replace the AppID'
56+
inputs:
57+
targetType: 'inline'
58+
script: '((Get-Content -path-Raw) -replace ''Microsoft.WindowsCalculator_8wekyb3d8bbwe!App'',''Microsoft.WindowsCalculator.Dev_8wekyb3d8bbwe!App'') | Set-Content -Path example/Setup.ts'
59+
60+
- task: CmdLine@2
61+
inputs:
62+
script: 'type example/Setup.ts'
63+
64+
- task: DeleteFiles@1
65+
inputs:
66+
SourceFolder: 'example\node_modules\selenium-appium\dist'
67+
Contents: '*'
68+
69+
- task: CopyFiles@2
70+
inputs:
71+
SourceFolder: 'dist'
72+
Contents: '**'
73+
TargetFolder: 'example\node_modules\selenium-appium\dist'
74+
OverWrite: true
75+
76+
- task: CmdLine@2
77+
inputs:
78+
script: 'yarn run jest'
79+
workingDirectory: 'example'

0 commit comments

Comments
 (0)