File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ source ./.evergreen/prepare-shell.sh
88
99ENVIRONMENT=${ENVIRONMENT:- " test" }
1010PROJECT_DIRECTORY=${PROJECT_DIRECTORY:- " ." }
11- source $DRIVERS_TOOLS /.evergreen/init-node-and-npm-env.sh
11+
12+ if [ -n " ${K8S_VARIANT} " ]; then
13+ source $DRIVERS_TOOLS /.evergreen/init-node-and-npm-env.sh
14+ fi
1215
1316if [ -z " ${MONGODB_URI_SINGLE} " ]; then
1417 echo " Must specify MONGODB_URI_SINGLE"
3033 echo " Must specify K8S_VARIANT"
3134 exit 1
3235 fi
36+
37+ # Since this is running in a pod, we need to ensure Node is installed properly.
38+ source $DRIVERS_TOOLS /.evergreen/install-node.sh
39+ npm install " ${NPM_OPTIONS} "
40+ source $DRIVERS_TOOLS /.evergreen/init-node-and-npm-env.sh
41+
3342 npm run check:oidc-k8s
3443fi
You can’t perform that action at this time.
0 commit comments