features/test/node/install_node_16_on_bionic.sh

15 lines
294 B
Bash
Raw Permalink Normal View History

#!/bin/bash
set -e
# Optional: Import test library
source dev-container-features-test-lib
# Definition specific tests
check "version" bash -c "node --version | grep 16"
check "pnpm" pnpm -v
check "nvm" bash -c ". /usr/local/share/nvm/nvm.sh && nvm install 10"
# Report result
reportResults