Update React Native skill & improve MCP output #394
Workflow file for this run
This file contains hidden or 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: Test React Native | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| paths: | |
| - '.github/workflows/test-react-native.yml' | |
| - 'packages/react-native/**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| checks: | |
| name: Build and Test | |
| runs-on: ubuntu-latest | |
| container: | |
| # Make sure to grab the latest version of the Playwright image | |
| # https://playwright.dev/docs/docker#pull-the-image | |
| image: mcr.microsoft.com/playwright:v1.60.0-noble | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0 | |
| with: | |
| egress-policy: audit | |
| - name: Setup pnpm 🛠️ | |
| uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 | |
| with: | |
| version: 11.8.0 | |
| - name: Checkout code 📥 | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Setup Node.js environment 🌐 | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: '22.x' | |
| registry-url: 'https://registry.npmjs.org' | |
| cache: 'pnpm' | |
| - name: Install dependencies 📦 | |
| run: pnpm install --frozen-lockfile | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_GLOBAL_READ_TOKEN }} | |
| - name: Run React Native tests ✅ | |
| run: pnpm run test:react-native |