Skip to content
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

fix: decouple workflowNodeVersion from minNodeVersion #610

Merged
merged 7 commits into from
Sep 20, 2024

Conversation

rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Sep 18, 2024

workflowNodeVersion is copied from minNodeVersion if not set.

This incentivizes undesirable behavior: minNodeVersion should almost never need to be set, while workflowNodeVersion might need to be set.

As a result, users might set minNodeVersion while looking for the other version.

Fix that in the types that wrap projen types here, in preparation of an upstream projen fix.

Default workflow versions to lts/*, this is almost always what you want anyway.

`workflowNodeVersion` is copied from `minNodeVersion` if not set.

This incentivizes undesirable behavior: `minNodeVersion` should almost
never need to be set, while `workflowNodeVersion` might need to be set.

As a result, users might set `minNodeVersion` while looking for the
other version.

Fix that in the types that wrap projen types here, in preparation of
an upstream projen fix.
github-actions and others added 6 commits September 18, 2024 12:11
Signed-off-by: github-actions <github-actions@github.com>
…s-projen-project-types into huijbers/min-node-version
Signed-off-by: github-actions <github-actions@github.com>
@cdklabs-automation cdklabs-automation added this pull request to the merge queue Sep 20, 2024
Merged via the queue into main with commit 83bc865 Sep 20, 2024
6 checks passed
@cdklabs-automation cdklabs-automation deleted the huijbers/min-node-version branch September 20, 2024 10:10
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.

3 participants