File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - main
77 paths :
88 - ' docs/**'
9- workflow_dispatch :
10-
9+ - ' .github/workflows/docs-build-check.yml'
10+ pull_request :
11+ branches :
12+ - main
13+ paths :
14+ - ' docs/**'
15+ - ' .github/workflows/docs-build-check.yml'
1116jobs :
1217 check :
1318 if : github.repository == 'software-mansion/react-native-executorch'
2025 steps :
2126 - name : checkout
2227 uses : actions/checkout@v2
28+ - name : For act to work (local testing)
29+ run : npm -g install yarn
2330 - name : Use Node.js 18
2431 uses : actions/setup-node@v2
2532 with :
2835 - name : Install node dependencies
2936 working-directory : ${{ env.WORKING_DIRECTORY }}
3037 # the mkdir is a workaround to avoid this: https://github.com/actions/setup-node/issues/317
31- run : mkdir -p .yarn/cache && yarn
38+ run : mkdir -p ../. yarn/cache && yarn
3239 - name : Generate docs
3340 working-directory : ${{ env.WORKING_DIRECTORY }}
3441 run : yarn build
You can’t perform that action at this time.
0 commit comments