Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

ci: the WebKit lane's scope covers hooks/useAttachment, which the pager's page bundles (#9649)

Cindy Zhangeadd175390a1
diff --git a/.github/scripts/ci-interaction-webkit.test.mjs b/.github/scripts/ci-interaction-webkit.test.mjs
index 400ad71b3f..06e4e38c8d 100644
--- a/.github/scripts/ci-interaction-webkit.test.mjs
+++ b/.github/scripts/ci-interaction-webkit.test.mjs
@@ -247,6 +247,7 @@ describe('WebKit interaction proof routing', () => {
'packages/core/src/hooks/usePressFeedback.ts',
'packages/core/src/hooks/usePager.ts',
'packages/core/src/hooks/useIsomorphicLayoutEffect.ts',
+ 'packages/core/src/hooks/useAttachment.ts',
'packages/core/src/utils/sharedResizeObserver.ts',
'packages/core/src/hooks/__tests__/usePager.interaction.browser.spec.ts',
'packages/core/src/hooks/__tests__/pagerBundle.ts',
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 693aaaf193..3d6a8ec059 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2416,7 +2416,7 @@ jobs:
id: scope
uses: ./.test-scope/.github/actions/test-scope
with:
- paths: '^(packages/core/src/gestures/|packages/core/src/motion/|packages/core/src/internal/touch|packages/core/src/utils/(press|touch|primaryClick|isApplePlatform|flatTree|inputStream|clickGuard|selectionLock|coarsePointer|sharedResizeObserver)|packages/core/src/privateAttributes/hapticSwitch\.stylex\.ts$|packages/core/src/hooks/(useMenuPress|menuPress|useLongPress|usePressFeedback|isRtlElement|useIsomorphicLayoutEffect|usePager|__tests__/(usePager|pagerBundle))|internal/interaction-harness/|internal/a11y-spec/|playwright\.interaction\.config\.ts$|packages/themes/[^/]+/src/|apps/storybook/|\.github/workflows/ci\.yml$|package\.json$|pnpm-lock\.yaml$|\.github/actions/test-scope/)'
+ paths: '^(packages/core/src/gestures/|packages/core/src/motion/|packages/core/src/internal/touch|packages/core/src/utils/(press|touch|primaryClick|isApplePlatform|flatTree|inputStream|clickGuard|selectionLock|coarsePointer|sharedResizeObserver)|packages/core/src/privateAttributes/hapticSwitch\.stylex\.ts$|packages/core/src/hooks/(useMenuPress|menuPress|useLongPress|usePressFeedback|isRtlElement|useIsomorphicLayoutEffect|useAttachment|usePager|__tests__/(usePager|pagerBundle))|internal/interaction-harness/|internal/a11y-spec/|playwright\.interaction\.config\.ts$|packages/themes/[^/]+/src/|apps/storybook/|\.github/workflows/ci\.yml$|package\.json$|pnpm-lock\.yaml$|\.github/actions/test-scope/)'
outside-pull-request: skip
requires-head-file: playwright.interaction.config.ts