diff options
author | eitsupi <50911393+eitsupi@users.noreply.github.com> | 2023-08-29 00:26:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-29 00:26:30 +0300 |
commit | 95a169b9ef92c9dae454df5e87d4c26d56a863c9 (patch) | |
tree | daffec76a9add688b7f76a2cc934fb84e40ad735 /test/node/install_nvm_0.39.sh | |
parent | 0668db5edea56a0d57575db127b793f59b489e7b (diff) |
[node] Install the latest version of nvm by default (#673)feature_node_1.3.0
feat(node): install the latest nvm by default
Diffstat (limited to 'test/node/install_nvm_0.39.sh')
-rwxr-xr-x | test/node/install_nvm_0.39.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/node/install_nvm_0.39.sh b/test/node/install_nvm_0.39.sh new file mode 100755 index 0000000..6b96381 --- /dev/null +++ b/test/node/install_nvm_0.39.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +# Definition specific tests +check "version" bash -c "node --version" +check "pnpm" pnpm -v +check "nvm version" bash -c ". /usr/local/share/nvm/nvm.sh && nvm --version | grep 0.39" + +# Report result +reportResults |