Skip to content

Commit

Permalink
Add yarn_cache_folder to Android jobs
Browse files Browse the repository at this point in the history
This option was added for iOS in react-native-community#103
  • Loading branch information
alexdunae committed Aug 18, 2022
1 parent 87672bb commit 08ec6b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/jobs/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ parameters:
description: Should we cache after yarn install? Defaults to true
type: boolean
default: true
yarn_cache_folder:
description: The path to the yarn cache folder
type: string
default: "/tmp/yarn"
on_after_initialize:
description: A custom command to run right after yarn install.
type: string
Expand Down
4 changes: 4 additions & 0 deletions src/jobs/android_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ parameters:
description: Should we cache after yarn install? Defaults to true
type: boolean
default: true
yarn_cache_folder:
description: The path to the yarn cache folder
type: string
default: "/tmp/yarn"
# For the start emulator command
device_name:
description: The name of the AVD. You use this name to tell which device to run tests on. Defaults to 'TestingAVD'.
Expand Down

0 comments on commit 08ec6b9

Please sign in to comment.