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 a0c70fc
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 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,8 +118,8 @@ jobs:
- uses: actions/cache/save@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: Test
Expand Down

0 comments on commit a0c70fc

Please sign in to comment.