Skip to content

Commit d1f48c1

Browse files
Update node entrypoint script and ruby docker image (#951)
* Use https for the npm registry url * try * --legacy-peer-deps * update ruby version
1 parent af6edab commit d1f48c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/build_node/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
if [ -n "$NPM_AUTH_TOKEN" ]; then
66
# Respect NPM_CONFIG_USERCONFIG if it is provided, default to $HOME/.npmrc
77
NPM_CONFIG_USERCONFIG="${NPM_CONFIG_USERCONFIG-"$HOME/.npmrc"}"
8-
NPM_REGISTRY_URL="${NPM_REGISTRY_URL-registry.npmjs.org}"
8+
NPM_REGISTRY_URL="${NPM_REGISTRY_URL-https://registry.npmjs.org}"
99

1010
# Allow registry.npmjs.org to be overridden with an environment variable
1111
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 ****************"
3131
cp -R ../build/ .
3232

3333
echo "**************** Installing ****************"
34-
npm install
34+
npm install --legacy-peer-deps
3535

3636
echo "**************** Building ****************"
3737
npm run build

.github/actions/build_ruby/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:2.6.0
1+
FROM ruby:3.0
22

33
RUN apt-get update && \
44
apt-get install --no-install-recommends -y \

0 commit comments

Comments
 (0)