Skip to content

chore: Support Angular 20 to 22#154

Open
jasny wants to merge 3 commits into
sand4rt:mainfrom
jasny:angular-20-22-peer-range
Open

chore: Support Angular 20 to 22#154
jasny wants to merge 3 commits into
sand4rt:mainfrom
jasny:angular-20-22-peer-range

Conversation

@jasny

@jasny jasny commented Jun 17, 2026

Copy link
Copy Markdown

Summary

This PR expands the published Angular peer dependency range to support Angular 20, 21, and 22, and adds GitHub Actions coverage to test the package against each supported Angular major.

Changes

  • widen Angular peer dependencies in playwright-ct-angular/package.json to >=20.3.11 <23.0.0
  • update the package’s local Angular dev dependencies to Angular 22
  • refresh pnpm-lock.yaml for the new dev dependency set
  • update main.yml to run the test job as a matrix for Angular 20, 21, and 22
  • add set-angular-version.js so CI can rewrite the sample app’s Angular package versions per matrix entry

Testing

  • ran pnpm test locally with the Angular 22 dev dependency setup
  • result: 45 passed

Notes

  • CI uses the Angular major for the job name, while the script receives the full version range for dependency resolution
  • the workflow uses pnpm install --no-frozen-lockfile because each matrix entry resolves a different Angular dependency graph

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.

1 participant