From 78f6ab7844a7b4c210eb0cc6128973da5395fbd7 Mon Sep 17 00:00:00 2001 From: TAKANO Mitsuhiro Date: Tue, 17 Oct 2023 19:20:55 +0900 Subject: [PATCH] NODE_OPTIONS=--openssl-legacy-provider bundle exec rails webpacker:compile --- .github/workflows/ruby.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index fae1efb..89e8efb 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -13,8 +13,6 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: 2.6.10 - - name: Set NODE_OPTIONS environment variable - run: echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV - name: Build and test with Rake run: | gem install bundler @@ -26,7 +24,6 @@ jobs: npm install yarn yarn install bundle exec rails webpacker:install - bundle exec rails webpacker:compile + NODE_OPTIONS=--openssl-legacy-provider bundle exec rails webpacker:compile bundle exec rake - env: NODE_OPTIONS: --openssl-legacy-provider