Yarn3 (berry) does not support setting 'registry' key
With yarn3 (berry) it is no longer possible to call `yarn set registry <value>` like done in https://gitlab.com/to-be-continuous/node/-/blob/master/templates/gitlab-ci-node.yml?ref_type=heads#L628 This call results into the following error: ``` $ # BEGSCRIPT # collapsed multi-line command $ install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}" $ cd ${NODE_PROJECT_DIR} $ guess_node_manager_system [INFO] --- Build system auto-detected: yarn $ config_registry=${NODE_CONFIG_REGISTRY:-$NPM_CONFIG_REGISTRY} $ if [ "$NODE_MANAGER" = "pnpm" ]; then check_pnpm_installation; fi $ if [[ "$config_registry" ]]; then $NODE_MANAGER config set registry $config_registry; fi Usage Error: Couldn't find a configuration settings named "registry" $ yarn config set [--json] [-H,--home] <name> <value> ``` According to the current documentation, the new key is called `npmConfigRegistry` (see https://yarnpkg.com/configuration/yarnrc#npmRegistryServer)
issue