2022-05-25 23:11:44 +03:00
|
|
|
#!/bin/bash
|
2022-05-13 03:07:22 +03:00
|
|
|
|
2022-05-25 23:11:44 +03:00
|
|
|
set -e
|
2022-05-13 03:07:22 +03:00
|
|
|
|
2022-05-25 23:11:44 +03:00
|
|
|
# Optional: Import test library
|
|
|
|
source dev-container-features-test-lib
|
2022-05-13 03:07:22 +03:00
|
|
|
|
2022-05-25 23:11:44 +03:00
|
|
|
# Definition specific tests
|
|
|
|
check "version" node --version
|
2023-02-27 20:12:21 +03:00
|
|
|
check "pnpm" pnpm -v
|
2022-10-06 21:41:34 +03:00
|
|
|
check "nvm" bash -c ". /usr/local/share/nvm/nvm.sh && nvm install 10"
|
2022-05-13 03:07:22 +03:00
|
|
|
|
2022-05-25 23:11:44 +03:00
|
|
|
# Report result
|
|
|
|
reportResults
|