Skip to content

Commit

Permalink
Update node entrypoint script and ruby docker image (#951)
Browse files Browse the repository at this point in the history
* Use https for the npm registry url

* try

* --legacy-peer-deps

* update ruby version
  • Loading branch information
broccolinisoup authored May 10, 2023
1 parent af6edab commit d1f48c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build_node/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/build_ruby/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.6.0
FROM ruby:3.0

RUN apt-get update && \
apt-get install --no-install-recommends -y \
Expand Down

0 comments on commit d1f48c1

Please sign in to comment.