Skip to content

fix(ci): select all versions in nvm migration test#148

Merged
CalvinAllen merged 1 commit intomainfrom
fix/ci/nvm-migration-test-selection
Dec 14, 2025
Merged

fix(ci): select all versions in nvm migration test#148
CalvinAllen merged 1 commit intomainfrom
fix/ci/nvm-migration-test-selection

Conversation

@CalvinAllen
Copy link
Contributor

Summary

Fix the nvm migration test that was failing because it selected the wrong version.

Problem:

  • Test installs Node.js 20.18.0 via nvm
  • Migration detects two versions: [1] system and [2] nvm
  • Test input 1\n... selected the system version, not the nvm version
  • Verification failed looking for 20.18.0

Solution:

  • Change selection from 1 to all to migrate both versions
  • Verification still checks that 20.18.0 is among migrated versions

Test plan

  • Verify migrate-node-ubuntu-nvm workflow passes

The nvm migration test was selecting option "1" which picked up the
pre-installed system Node.js instead of the nvm-installed version.

Change to "all" so both system and nvm versions get migrated, then
verify that the nvm version (20.18.0) is among the migrated versions.
@CalvinAllen CalvinAllen merged commit f6d8e73 into main Dec 14, 2025
2 checks passed
@CalvinAllen CalvinAllen deleted the fix/ci/nvm-migration-test-selection branch December 14, 2025 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant