Repository navigation
ci: build docs on pull requests that touch docs - #1257
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The CI path filter omits .github/workflows/deploy-docs.yml, allowing changes to the production documentation deployment workflow to bypass docs build validation.
1 open issue
What changed in this PR
Adds a reusable GitHub Actions workflow to build the Rspress documentation and conditionally runs it in CI for pull requests that modify documentation-related files.
Changes:
- Adds a Bun/Node-based documentation build workflow.
- Adds documentation path filtering and a conditional docs build job.
- Includes the docs build in the required CI checks.
| File | Description |
|---|---|
| .github/workflows/docs.yml | Defines the reusable Bun/Node-based Rspress documentation installation and build workflow. |
| .github/workflows/ci.yml | Detects documentation changes, conditionally runs the docs build, and includes it in the required CI checks. |
Review effort: Lite
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
🟢 e2e ios: 51 passedAll 51 tests in 20 files
Tested by e2e 0.23.1 · 7m 19s · ios · run artifacts |
Apex Sentinel · ✅ ApproveNo open findings. Reviewed with this repository's own Sentinel configuration ( 💬 Talking to SentinelIn a finding's thread, reply with:
On this conversation, comment |
🟢 e2e: 1 flaky, 67 passed
|
| Test | Time | |
|---|---|---|
| tests/set-page-animation.e2e.ts · 1 flaky, 3 passed | 37.7s | |
| 🟢 | ltr › direct setPage selects only the target page (ltr) | 6.8s |
| 🟢 | rtl › direct setPage selects only the target page (rtl) | 17.8s |
| 🟢 | the page next to the target is selectable after a direct setPage | 6.3s |
| scroll setPage passes the pages in between, direct setPage does not (1 failed attempt first) | 6.9s | |
| 🟢 | tests/basic-pager.e2e.ts · 3 passed | 1m 3s |
| 🟢 | basic pager › in LTR › pages horizontally | 23.9s |
| 🟢 | basic pager › in LTR › pages vertically | 13.7s |
| 🟢 | basic pager › in RTL › pages horizontally with the reversed gesture | 25.7s |
| 🟢 | tests/issues/issue-1083-modal-set-page.e2e.ts · 1 passed | 9.9s |
| 🟢 | setPage called behind a native-stack modal lands on the requested page | 9.9s |
| 🟢 | tests/issues/issue-1098-nested-pager.e2e.ts · 1 passed | 7.3s |
| 🟢 | outer pager stays responsive after its page count changes around a nested pager | 7.3s |
| 🟢 | tests/issues/issue-1154-page-change-focus.e2e.ts · 7 passed | 48.6s |
| 🟢 | leaving a page with setPage blurs its input | 8.0s |
| 🟢 | setPage with an input focused lands on the target page | 6.8s |
| 🟢 | leaving a page with a swipe blurs its input | 5.4s |
| 🟢 | an input focused on the new page keeps focus | 7.3s |
| 🟢 | an input focused on the new page keeps focus going back | 8.1s |
| 🟢 | a swipe keeps the focus the new page takes from onPageSelected | 6.9s |
| 🟢 | setPage keeps the focus the new page takes from onPageSelected | 6.0s |
| 🟢 | tests/issues/issue-1156-nested-horizontal-scroll.e2e.ts · 3 passed | 17.1s |
| 🟢 | a horizontal ScrollView in a page scrolls instead of the pager | 5.6s |
| 🟢 | the pager takes the swipe once the ScrollView is at its edge | 6.3s |
| 🟢 | a swipe outside the ScrollView changes the page | 5.2s |
| 🟢 | tests/issues/issue-1196-set-page-after-add.e2e.ts · 6 passed | 38.3s |
| 🟢 | setPageWithoutAnimation selects a page added in the same commit | 5.0s |
| 🟢 | setPage animates to a page added in the same commit | 5.4s |
| 🟢 | setPage from useEffect animates to a page added in the same commit | 5.4s |
| 🟢 | setPageWithoutAnimation selects a page added to an empty pager in the same commit | 6.1s |
| 🟢 | an index that is not there yet is ignored, not applied later | 7.1s |
| 🟢 | pages that come back report the page the pager lands on once | 9.4s |
| 🟢 | tests/issues/issue-1199-scroll-state.e2e.ts · 2 passed | 10.6s |
| 🟢 | setPage reports settling, then idle once the page has stopped | 5.8s |
| 🟢 | a swipe reports settling when the finger lifts, then idle once the page has stopped | 4.8s |
| 🟢 | tests/issues/issue-1205-diagonal-swipe.e2e.ts · 2 passed | 10.8s |
| 🟢 | a slanted, mostly vertical drag scrolls the list | 5.5s |
| 🟢 | a slanted, mostly horizontal drag changes the page | 5.3s |
| 🟢 | tests/issues/issue-1229-text-input-cursor.e2e.ts · 5 passed | 29.2s |
| 🟢 | a tap that moves places the cursor in the input above the pager | 5.5s |
| 🟢 | a tap that moves places the cursor in a single-line input on a page | 5.8s |
| 🟢 | a tap that moves places the cursor in a single-line input on a page with scrolling disabled | 6.1s |
| 🟢 | a tap that moves places the cursor in a multiline input on a page | 5.6s |
| 🟢 | a tap that moves places the cursor in a multiline input on a page with scrolling disabled | 6.3s |
| 🟢 | tests/issues/issue-1248-clipped-text-scroll.e2e.ts · 2 passed | 11.2s |
| 🟢 | an upward drag over clipped text scrolls the list | 5.0s |
| 🟢 | a nested vertical list keeps its own drag | 6.1s |
| 🟢 | tests/issues/issue-1250-page-selected-timing.e2e.ts · 2 passed | 11.2s |
| 🟢 | setPage reports the selected page before it starts moving | 5.7s |
| 🟢 | a flick reports the selected page when the finger lifts | 5.5s |
| 🟢 | tests/issues/issue-219-empty-pager.e2e.ts · 3 passed | 18.5s |
| 🟢 | a pager that mounts empty shows its first page when pages arrive | 5.0s |
| 🟢 | a pager that loses all its pages shows them again when they come back | 7.7s |
| 🟢 | setPage works as soon as pages arrive in a pager that mounted empty | 5.9s |
| 🟢 | tests/issues/issue-424-swipe-cancels-press.e2e.ts · 3 passed | 21.1s |
| 🟢 | a tap on a button in a page presses it | 5.6s |
| 🟢 | a swipe that starts on a button in a page cancels its touch | 5.1s |
| 🟢 | a swipe while the JS thread is busy does not press the button | 10.3s |
| 🟢 | tests/issues/issue-965-pages-before-current.e2e.ts · 6 passed | 33.7s |
| 🟢 | inserting a page before the current one keeps it visible | 5.8s |
| 🟢 | inserting a page at the current index keeps the current page | 5.5s |
| 🟢 | removing a page before the current one keeps it visible | 5.4s |
| 🟢 | removing pages up to the current index keeps it visible | 5.2s |
| 🟢 | moving the current page keeps it visible | 5.5s |
| 🟢 | moving a page next to the current one keeps it rendered | 6.2s |
| 🟢 | tests/issues/pr-1194-remount-initial-page.e2e.ts · 1 passed | 8.0s |
| 🟢 | a pager remounted after its screen was covered starts on its own initialPage | 8.0s |
| 🟢 | tests/issues/pr-1241-switch-state-restore.e2e.ts · 1 passed | 8.4s |
| 🟢 | a page that comes back keeps the switch value React set while it was away | 8.4s |
| 🟢 | tests/keyboard-dismiss-mode.e2e.ts · 3 passed | 18.2s |
| 🟢 | on-drag: dragging the pager blurs the input | 5.9s |
| 🟢 | on-drag: setPage keeps the input focused | 6.0s |
| 🟢 | none: dragging the pager keeps the input focused | 6.3s |
| 🟢 | tests/lazy-pager-view.e2e.ts · 4 passed | 28.0s |
| 🟢 | setPage mounts the target and its neighbours only | 6.5s |
| 🟢 | swiping mounts the next neighbour | 6.7s |
| 🟢 | preload distance 0 mounts only the pages visited | 6.5s |
| 🟢 | a visited page keeps its scroll position | 8.4s |
| 🟢 | tests/material-top-bar.e2e.ts · 1 passed | 10.4s |
| 🟢 | material top tabs survive a native-stack push and pop | 10.4s |
| 🟢 | tests/memo-pages.e2e.ts · 1 passed | 7.0s |
| 🟢 | memoized pages do not re-render with the pager | 7.0s |
| 🟢 | tests/native-driver-events.e2e.ts · 2 passed | 10.9s |
| 🟢 | native driver events › setPage through the Animated ref drives the native value | 5.9s |
| 🟢 | native driver events › a swipe drives the native value | 5.0s |
| 🟢 | tests/nested-pager-view.e2e.ts · 1 passed | 8.6s |
| 🟢 | nested horizontal and vertical pagers scroll independently | 8.6s |
| 🟢 | tests/on-page-selected.e2e.ts · 1 passed | 12.2s |
| 🟢 | onPageSelected fires an alert for every page change | 12.2s |
| 🟢 | tests/scrollable-pager-view.e2e.ts · 1 passed | 14.2s |
| 🟢 | pager inside a ScrollView keeps its page across vertical scrolls | 14.2s |
| 🟢 | tests/smoke.e2e.ts · 1 passed | 6.1s |
| 🟢 | horizontal pager pages with the panel buttons | 6.1s |
| 🟢 | tests/tab-view-inside-scroll-view.e2e.ts · 1 passed | 9.0s |
| 🟢 | TabView inside a ScrollView swipes tabs and scrolls the page | 9.0s |
Tested by e2e 0.23.1 · 8m 47s · android · run artifacts
🟢 e2e ios-spm: 51 passedAll 51 tests in 20 files
Tested by e2e 0.23.1 · 9m 44s · ios · run artifacts |

No description provided.