Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
zetavg committed Jan 19, 2025
1 parent ed3ae0f commit 18598fe
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/test-native-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,17 @@ jobs:
SIMULATOR_UDID: ${{ steps.get-simulator-udid.outputs.simulator_udid }}
run: xcrun simctl boot $SIMULATOR_UDID

- name: Get NPM Global Root Path
id: get-npm-global-root-path
run: |
NPM_GLOBAL_ROOT_PATH=$(npm root -g)
echo "NPM global root path: $NPM_GLOBAL_ROOT_PATH"
echo "path=$NPM_GLOBAL_ROOT_PATH" >> $GITHUB_OUTPUT
- uses: actions/cache/restore@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-appium
path: ${{ steps.get-npm-global-root-path.outputs.path }}
key: ${{ runner.os }}-npm-appium-2

- name: Install and Run Appium Server
# id: install-maestro
Expand All @@ -111,7 +118,7 @@ jobs:
- uses: actions/cache/save@v4
with:
path: ~/.npm
path: ${{ steps.get-npm-global-root-path.outputs.path }}
key: ${{ runner.os }}-npm-appium


Expand Down

0 comments on commit 18598fe

Please sign in to comment.