aboutsummaryrefslogtreecommitdiff
path: root/test/node/install_node_16_on_bionic.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-12-02 20:48:04 +0300
committerGitHub <noreply@github.com>2022-12-02 20:48:04 +0300
commit7a47fbff000bff65bec9fa4687eed87cc0bc39c3 (patch)
tree54b61ea9f66113bbdbd7536814607a1bf8bbea07 /test/node/install_node_16_on_bionic.sh
parent46dfa11ecd3c507187eebbd6784c09d736737255 (diff)
Node: Fix regression - Installing in ubuntu 18.04 (#319)
Node: Fix regression https://github.com/devcontainers/features/issues/317
Diffstat (limited to 'test/node/install_node_16_on_bionic.sh')
-rwxr-xr-xtest/node/install_node_16_on_bionic.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/node/install_node_16_on_bionic.sh b/test/node/install_node_16_on_bionic.sh
new file mode 100755
index 0000000..1b301d3
--- /dev/null
+++ b/test/node/install_node_16_on_bionic.sh
@@ -0,0 +1,13 @@
+#!/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 "nvm" bash -c ". /usr/local/share/nvm/nvm.sh && nvm install 10"
+
+# Report result
+reportResults