-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split examples test for speed #10271
Conversation
|
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-codegen/cli |
5.0.4-alpha-20250127071942-f029050859efda5c0812a4d36da0391af2b38b57 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/visitor-plugin-common |
5.6.1-alpha-20250127071942-f029050859efda5c0812a4d36da0391af2b38b57 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-document-nodes |
4.0.13-alpha-20250127071942-f029050859efda5c0812a4d36da0391af2b38b57 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/gql-tag-operations |
4.0.13-alpha-20250127071942-f029050859efda5c0812a4d36da0391af2b38b57 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-operations |
4.4.1-alpha-20250127071942-f029050859efda5c0812a4d36da0391af2b38b57 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-resolvers |
4.4.2-alpha-20250127071942-f029050859efda5c0812a4d36da0391af2b38b57 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typed-document-node |
5.0.13-alpha-20250127071942-f029050859efda5c0812a4d36da0391af2b38b57 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript |
4.1.3-alpha-20250127071942-f029050859efda5c0812a4d36da0391af2b38b57 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/client-preset |
4.6.0-alpha-20250127071942-f029050859efda5c0812a4d36da0391af2b38b57 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/graphql-modules-preset |
4.0.13-alpha-20250127071942-f029050859efda5c0812a4d36da0391af2b38b57 |
npm ↗︎ unpkg ↗︎ |
💻 Website PreviewThe latest changes are available as preview in: https://d709fb2f.graphql-code-generator.pages.dev |
Description
Examples test is taking ~9mins and is the longest step in the pipeline:
A quick look showed us that:
So, we can speed up CI by splitting the Examples tests to 2 parts:
@graphql-codegen/client-preset-swc-plugin
dep@graphql-codegen/client-preset-swc-plugin
depThis change also keeps the default behaviour where example commands target all examples a.k.a "all" packages
Result: Testing workflow takes ~5min . Meaning 44% reduction in CI time! (and makes me 100% happier)