Skip to content

Commit

Permalink
feat: updating npm configuration to environmental variables to avoid …
Browse files Browse the repository at this point in the history
…error executing on a npm workspace
  • Loading branch information
juancarlosjr97 committed Feb 18, 2024
1 parent 6679d4f commit 2609baf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release-it-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ NPM_GLOBAL_DIR=/home/node/.npm-global
PATH=${NPM_GLOBAL_DIR}/bin:${PATH}

mkdir -p "${NPM_GLOBAL_DIR}"
npm config set prefix "${NPM_GLOBAL_DIR}"
npm config set update-notifier false -g
export NPM_CONFIG_PREFIX="${NPM_GLOBAL_DIR}"
export NPM_CONFIG_UPDATE_NOTIFIER=false

# Split the plugin list into an installable command
IFS=',' read -ra RELEASE_IT_PLUGINS_LIST <<< "${RELEASE_IT_PLUGINS}"
Expand Down

0 comments on commit 2609baf

Please sign in to comment.