@@ -77,19 +77,19 @@ jobs:
7777 os_version : ${{ env.IOS_VERSION }}
7878
7979 # Start Appium
80- - run : npm install appium@rc
80+ - run : npm install -g appium@rc
8181 - run : |
82- appium driver install xcuitest@rc
83- appium plugin install images@rc
84- appium plugin install execute-driver@rc
85- nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
82+ npx appium driver install xcuitest@rc
83+ npx appium plugin install images@rc
84+ npx appium plugin install execute-driver@rc
85+ nohup npx appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
8686
8787 - run : npm list
8888 - run : npm -g list
8989 - run : ls /usr/local/lib/node_modules
9090
9191 - run : |
92- appium driver run xcuitest download-wda-sim --platform=${{matrix.test_targets.platform}} --outdir=${{github.workspace}}/wda
92+ npx appium driver run xcuitest download-wda-sim --platform=${{matrix.test_targets.platform}} --outdir=${{github.workspace}}/wda
9393 name: Downloading prebuilt WDA
9494
9595 - name : Set up Ruby
@@ -155,17 +155,17 @@ jobs:
155155 # Start Appium
156156 - name : Install appium and mjpeg-consumer
157157 run : |
158- npm install appium@rc
159- npm install mjpeg-consumer
158+ npm install -g appium@rc
159+ npm install -g mjpeg-consumer
160160 - run : |
161- appium driver install xcuitest@rc
162- appium plugin install images@rc
163- appium plugin install execute-driver@rc
164- nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
161+ npx appium driver install xcuitest@rc
162+ npx appium plugin install images@rc
163+ npx appium plugin install execute-driver@rc
164+ nohup npx appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
165165 # nohup appium --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
166166
167167 - run : |
168- appium driver run xcuitest download-wda-sim --platform=${{matrix.test_targets.platform}} --outdir=${{github.workspace}}/wda
168+ npx appium driver run xcuitest download-wda-sim --platform=${{matrix.test_targets.platform}} --outdir=${{github.workspace}}/wda
169169 name: Downloading prebuilt WDA
170170
171171 - name : Set up Ruby
@@ -254,13 +254,13 @@ jobs:
254254 node-version : ' lts/*'
255255
256256 # Start Appium
257- - run : npm install appium@rc
257+ - run : npm install -g appium@rc
258258 - run : |
259- appium driver install uiautomator2@rc
260- appium plugin install images@rc
261- appium plugin install execute-driver@rc
262- nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors > appium.log &
263- # nohup appium --relaxed-security --log-timestamp --log-no-colors > appium.log &
259+ npx appium driver install uiautomator2@rc
260+ npx appium plugin install images@rc
261+ npx appium plugin install execute-driver@rc
262+ nohup npx appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors > appium.log &
263+ # nohup npx appium --relaxed-security --log-timestamp --log-no-colors > appium.log &
264264
265265 - name : Enable KVM group perms
266266 run : |
0 commit comments