Skip to content

ci: per-app build matrix with precise path triggers #957

ci: per-app build matrix with precise path triggers

ci: per-app build matrix with precise path triggers #957

name: Check documentation
on:
push:
branches:
- main
paths:
- 'docs/**'
- '.github/workflows/docs-build-check.yml'
pull_request:
branches:
- main
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'docs/**'
- '.github/workflows/docs-build-check.yml'
workflow_dispatch:
jobs:
check:
if: github.repository == 'software-mansion/react-native-executorch' && github.event.pull_request.draft != true
runs-on: ubuntu-latest
concurrency:
group: docs-check-${{ github.ref }}
cancel-in-progress: true
env:
WORKING_DIRECTORY: docs
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Use Node.js 24
uses: actions/setup-node@v6
with:
node-version: 24
- name: Install node dependencies
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn install --immutable
- name: Generate docs
working-directory: ${{ env.WORKING_DIRECTORY }}
run: yarn build