Skip to content

Commit 7be4e71

Browse files
authored
try without -g
1 parent 28b3455 commit 7be4e71

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/functional-test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,16 @@ jobs:
7777
os_version: ${{ env.IOS_VERSION }}
7878

7979
# Start Appium
80-
- run: npm install -g appium@rc
80+
- run: npm install appium@rc
8181
- run: |
8282
appium driver install xcuitest@rc
8383
appium plugin install images@rc
8484
appium plugin install execute-driver@rc
8585
nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
8686
8787
- run: npm list
88+
- run: npm -g list
89+
- run: ls /usr/local/lib/node_modules
8890

8991
- run: |
9092
appium driver run xcuitest download-wda-sim --platform=${{matrix.test_targets.platform}} --outdir=${{github.workspace}}/wda
@@ -153,8 +155,8 @@ jobs:
153155
# Start Appium
154156
- name: Install appium and mjpeg-consumer
155157
run: |
156-
npm install -g appium@rc
157-
npm install -g mjpeg-consumer
158+
npm install appium@rc
159+
npm install mjpeg-consumer
158160
- run: |
159161
appium driver install xcuitest@rc
160162
appium plugin install images@rc
@@ -252,7 +254,7 @@ jobs:
252254
node-version: 'lts/*'
253255

254256
# Start Appium
255-
- run: npm install -g appium@rc
257+
- run: npm install appium@rc
256258
- run: |
257259
appium driver install uiautomator2@rc
258260
appium plugin install images@rc

0 commit comments

Comments
 (0)