From 1122697b375da82cbb156b73eb1015ae066fc6ee Mon Sep 17 00:00:00 2001 From: mhkhung Date: Wed, 30 Nov 2022 03:56:27 -0500 Subject: [PATCH] 3.0.5 version of cimg/ruby:3.0-node upgraded to node 18 (#21873) Node 18 caused build to fail --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2a60ae684..bddfd2d27 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,7 +68,9 @@ jobs: cache-version: v1 pkg-manager: yarn - run: - command: ./bin/rails assets:precompile + command: | + export NODE_OPTIONS=--openssl-legacy-provider + ./bin/rails assets:precompile name: Precompile assets - persist_to_workspace: paths: