2018-08-05 21:29:41 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-01-29 15:38:24 +00:00
|
|
|
set -ex
|
|
|
|
|
|
|
|
# check node system package and its version
|
2018-08-06 05:14:40 +00:00
|
|
|
which node
|
2018-09-15 06:25:31 +00:00
|
|
|
node --version
|
2024-07-08 10:03:45 +00:00
|
|
|
node --version | grep v20
|
2018-09-15 06:25:31 +00:00
|
|
|
|
2023-04-09 15:40:36 +00:00
|
|
|
# npm comes with the nodejs conda-forge package that we have pinned, but we
|
|
|
|
# don't have npm pinned. For example nodejs 18.13.0 brought npm 8.19.3, but
|
|
|
|
# nodejs 18.14.0 brought npm 9.3.1.
|
|
|
|
#
|
|
|
|
# Since we have no npm version pinning, we just test that some version is
|
|
|
|
# installed.
|
|
|
|
#
|
2018-08-06 05:14:40 +00:00
|
|
|
which npm
|
2018-09-15 06:25:31 +00:00
|
|
|
npm --version
|