Backend/scripts/config_registry.sh

4 lines
136 B
Bash

#!/usr/bin/env sh
echo "registry ${NPM_REGISTRY_URL}" > "${MS_HOME}/.yarnrc"
echo "_auth ${NPM_REGISTRY_TOKEN}" >> "${MS_HOME}/.yarnrc"