Skip to content

Commit

Permalink
Fix npm command order (#4382)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Maddaus <[email protected]>
  • Loading branch information
IanMadd authored Feb 19, 2025
1 parent 5f62c9e commit df23cfd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/local-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -eou pipefail
# Run 'netlify dev'
###

npm install
npm ls

npm install
hugo server -b localhost:1313
2 changes: 1 addition & 1 deletion scripts/netlify-branch-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tar -xf dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz
rm dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz
export PATH=/opt/build/repo/dart-sass:$PATH

npm install
npm ls

npm install
hugo --gc --minify --enableGitInfo
2 changes: 1 addition & 1 deletion scripts/netlify-deploy-preview.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tar -xf dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz
rm dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz
export PATH=$(pwd)/dart-sass:$PATH

npm install
npm ls

npm install
hugo --gc --minify --enableGitInfo --buildFuture
2 changes: 1 addition & 1 deletion scripts/netlify-deploy-production.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tar -xf dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz
rm dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz
export PATH=/opt/build/repo/dart-sass:$PATH

npm install
npm ls

npm install
hugo --gc --minify --enableGitInfo --ignoreCache

0 comments on commit df23cfd

Please sign in to comment.