mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Centralize yarn install to use actions/yarn-install (#49174)
Summary: This centralizes the invocation of yarn install to be via the `actions/yarn-install`. It will make it easier to add a retry if we want for all the `yarn install` steps in all the workflows. ## Changelog: [INTERNAL] - Pull Request resolved: https://github.com/facebook/react-native/pull/49174 Test Plan: CI Reviewed By: NickGerleman Differential Revision: D69121525 Pulled By: cortinico fbshipit-source-id: 135da2e172cdf95b2a0ef8fd3d25996ab9317167
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b0501a5be2
commit
b345cecaaa
@@ -18,9 +18,8 @@ jobs:
|
||||
if: github.repository == 'facebook/react-native'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run Yarn Install on Root
|
||||
run: yarn install
|
||||
working-directory: .
|
||||
- name: Run yarn install
|
||||
uses: ./.github/actions/yarn-install
|
||||
- name: Danger
|
||||
run: yarn danger ci --use-github-checks --failOnErrors
|
||||
working-directory: packages/react-native-bots
|
||||
|
||||
Reference in New Issue
Block a user