Skip to content

Commit

Permalink
Merge pull request #86 from arakawatomonori/bundle-exec-webpacker-com…
Browse files Browse the repository at this point in the history
…pile-with-NODE_OPTIONS-env-var

It'll pass the test with this PR
  • Loading branch information
takano32 authored Oct 17, 2023
2 parents 12cd5fc + 78f6ab7 commit 7b03608
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 7b03608

Please sign in to comment.