Skip to content
Snippets Groups Projects
Commit 4de36ad6 authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-6636: moving export command to just before the build

parent 6dad3b04
No related branches found
No related tags found
1 merge request!157Feature/istwcms 6636 ebremner ohana php81
...@@ -41,7 +41,6 @@ version=$(cat "$file") ...@@ -41,7 +41,6 @@ version=$(cat "$file")
export NVM_DIR=$HOME/.nvm; export NVM_DIR=$HOME/.nvm;
source $NVM_DIR/nvm.sh; source $NVM_DIR/nvm.sh;
nvm install $version nvm install $version
export NODE_OPTIONS='--no-experimental-fetch'
echo "**************************************************************************************" echo "**************************************************************************************"
echo "Done installing correct npm version." echo "Done installing correct npm version."
...@@ -92,6 +91,7 @@ echo "Done setting up es lint." ...@@ -92,6 +91,7 @@ echo "Done setting up es lint."
echo "**************************************************************************************" echo "**************************************************************************************"
echo "Running npm run build ..." echo "Running npm run build ..."
export NODE_OPTIONS='--no-experimental-fetch'
npm run build npm run build
echo "**************************************************************************************" echo "**************************************************************************************"
echo "Done running npm run build." echo "Done running npm run build."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment