Skip to content

ci: test interact against React 18 and 19#220

Open
omribz156 wants to merge 1 commit into
wix:masterfrom
omribz156:codex/interact-react-ci-matrix
Open

ci: test interact against React 18 and 19#220
omribz156 wants to merge 1 commit into
wix:masterfrom
omribz156:codex/interact-react-ci-matrix

Conversation

@omribz156
Copy link
Copy Markdown

Description

Adds a focused CI matrix job for @wix/interact React compatibility. The existing full build/lint/test job stays unchanged, and the new job only runs the @wix/interact test suite against React 18 and React 19.

The matrix job keeps the base install immutable, builds @wix/motion first so the workspace package entry resolves for tests, then overlays the React/test dependencies for the selected matrix version in the ephemeral CI workspace.

Related Issue

Fixes #195

Checklist

  • I have read the Contributing Guide
  • I have added/updated tests for my changes (if applicable)
  • I have updated documentation/rules/skills (if applicable)

Screenshots / Demos

Not applicable.

Additional Notes

Verification:

  • actionlint .github/workflows/ci.yml
  • corepack yarn install --immutable
  • corepack yarn workspace @wix/motion build
  • corepack yarn workspace @wix/interact test with React 18 dependencies: 401 tests passed
  • corepack yarn workspace @wix/interact add --dev react@^19.0.0 react-dom@^19.0.0 @types/react@^19.0.0 @types/react-dom@^19.0.0 @testing-library/react@^16.1.0
  • corepack yarn workspace @wix/interact test with React 19 dependencies: 401 tests passed
  • corepack yarn prettier .github/workflows/ci.yml --check
  • git diff --check

This was implemented with Codex assistance, with the patch kept focused on the CI coverage requested in the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test @wix/interact against React 18 and React 19 in CI

1 participant