Skip to content

Commit

Permalink
NODE_OPTIONS=--openssl-legacy-provider bundle exec rails webpacker:co…
Browse files Browse the repository at this point in the history
…mpile
  • Loading branch information
takano32 committed Oct 17, 2023
1 parent 12cd5fc commit 78f6ab7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 78f6ab7

Please sign in to comment.