chore(react): suppress inherited-prop oversight warnings and finish o… #1
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: React Native Storybook Oversight | ||
| on: | ||
| pull_request: | ||
| types: [opened, synchronize, reopened] | ||
| paths: | ||
| - 'packages/react-native/**' | ||
| permissions: | ||
| contents: read | ||
| jobs: | ||
| checks: | ||
| name: Storybook Oversight Lint | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Harden the runner (Audit all outbound calls) | ||
| uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0 | ||
| with: | ||
| egress-policy: audit | ||
| - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 | ||
| with: | ||
| version: 11.8.0 | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | ||
| with: | ||
| node-version: '22.x' | ||
| registry-url: 'https://registry.npmjs.org' | ||
| cache: 'pnpm' | ||
| - run: pnpm install --frozen-lockfile | ||
| env: | ||
| NODE_AUTH_TOKEN: ${{ secrets.NPM_GLOBAL_READ_TOKEN }} | ||
| - run: pnpm build:storybook:react-native | ||
| env: | ||
| NODE_OPTIONS: '--max_old_space_size=4096' | ||
| - uses: rachelslurs/oversight-lint-action@v1 | ||
| working-directory: ./packages/react-native | ||