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