95a169b9ef
feat(node): install the latest nvm by default
15 lines
303 B
Bash
Executable file
15 lines
303 B
Bash
Executable file
#!/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
|