Skip to content

Test removal of .nvmrc#2864

Open
aug24 wants to merge 4 commits intomainfrom
test-removal-of-nvmrc
Open

Test removal of .nvmrc#2864
aug24 wants to merge 4 commits intomainfrom
test-removal-of-nvmrc

Conversation

@aug24
Copy link
Contributor

@aug24 aug24 commented Mar 18, 2026

What does this change?

Test removal of .nvmrc in favour of .tool-versions

How to test

How can we measure success?

Have we considered potential risks?

Checklist

  • I have listed any breaking changes, along with a migration path 1
  • I have updated the documentation as required for the described changes 2

Footnotes

  1. Consider whether this is something that will mean changes to projects that have already been migrated, or to the CDK CLI tool. If changes are required, consider adding a checklist here and/or linking to related PRs.

  2. If you are adding a new construct or pattern, has new documentation been added? If you are amending defaults or changing behaviour, are the existing docs still valid?

@aug24 aug24 requested a review from a team as a code owner March 18, 2026 09:58
@changeset-bot
Copy link

changeset-bot bot commented Mar 18, 2026

⚠️ No Changeset found

Latest commit: 0f4380c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@aug24 aug24 added the maintenance Departmental tracking: maintenance work, not a fix or a feature label Mar 18, 2026
@aug24 aug24 force-pushed the test-removal-of-nvmrc branch from 787dd1f to 51c1e15 Compare March 19, 2026 08:40
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why has this line (and the same from ci.yaml below) been removed, but similar lines in other files have been updated?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I originally changed all the lines, then deleted the lines when I was proving the process worked without any specification - I should have removed them all at the end. I'll do that now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without setting node-version-file the action appears to use Node 20. I'm not sure how it chose that version, but we can see it in the build log:

Image

I think we should be setting the value explicitly to remain deterministic.

@aug24 aug24 requested a review from a team as a code owner March 26, 2026 09:51
@aug24 aug24 force-pushed the test-removal-of-nvmrc branch from 775a4a2 to 0f4380c Compare March 26, 2026 10:08
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without setting node-version-file the action appears to use Node 20. I'm not sure how it chose that version, but we can see it in the build log:

Image

I think we should be setting the value explicitly to remain deterministic.

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

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants