fix(react-native): fix codegen failing in a pnpm monorepo setup #29899
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Danger on PR | |
on: | |
pull_request_target: | |
types: [opened, edited, reopened, synchronize] | |
permissions: | |
actions: write | |
checks: write | |
contents: write | |
issues: write | |
pull-requests: write | |
statuses: write | |
jobs: | |
danger: | |
runs-on: ubuntu-latest | |
if: github.repository == 'facebook/react-native' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Yarn Install on Root | |
run: yarn install | |
working-directory: . | |
- name: Danger | |
run: yarn danger ci --use-github-checks --failOnErrors | |
working-directory: packages/react-native-bots | |
env: | |
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} |