diff --git a/.github/actions/build_node/entrypoint.sh b/.github/actions/build_node/entrypoint.sh index b95c09524..503c24431 100755 --- a/.github/actions/build_node/entrypoint.sh +++ b/.github/actions/build_node/entrypoint.sh @@ -5,7 +5,7 @@ set -e if [ -n "$NPM_AUTH_TOKEN" ]; then # Respect NPM_CONFIG_USERCONFIG if it is provided, default to $HOME/.npmrc NPM_CONFIG_USERCONFIG="${NPM_CONFIG_USERCONFIG-"$HOME/.npmrc"}" - NPM_REGISTRY_URL="${NPM_REGISTRY_URL-registry.npmjs.org}" + NPM_REGISTRY_URL="${NPM_REGISTRY_URL-https://registry.npmjs.org}" # Allow registry.npmjs.org to be overridden with an environment variable printf "//%s/:_authToken=%s\\nregistry=%s" "$NPM_REGISTRY_URL" "$NPM_AUTH_TOKEN" "$NPM_REGISTRY_URL" > "$NPM_CONFIG_USERCONFIG" @@ -31,7 +31,7 @@ echo "**************** Copying assets files to build directory ****************" cp -R ../build/ . echo "**************** Installing ****************" -npm install +npm install --legacy-peer-deps echo "**************** Building ****************" npm run build diff --git a/.github/actions/build_ruby/Dockerfile b/.github/actions/build_ruby/Dockerfile index 0217535b6..e68b46262 100644 --- a/.github/actions/build_ruby/Dockerfile +++ b/.github/actions/build_ruby/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.6.0 +FROM ruby:3.0 RUN apt-get update && \ apt-get install --no-install-recommends -y \