[0.76] Error: Cannot find module '@react-native-community/cli-server-api' #5174
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: Check for reproducer | |
# This workflow is triggered when issue is created or edited. | |
on: | |
issues: | |
types: [opened, edited] | |
jobs: | |
check-for-reproducer: | |
runs-on: ubuntu-latest | |
if: | | |
github.repository == 'facebook/react-native' && github.event.issue.pull_request == null && github.event.issue.state == 'open' && !contains(github.event.issue.labels.*.name, ':open_umbrella: Umbrella') | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/github-script@v6 | |
with: | |
github-token: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }} | |
script: | | |
const checkForReproducer = require('./.github/workflow-scripts/checkForReproducer.js') | |
await checkForReproducer(github, context) |