File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/generators/react_on_rails Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ jobs:
130130 yarn install --no-progress --no-emoji ${{ matrix.dependency-level == 'latest' && '--frozen-lockfile' || '' }}
131131 sudo yarn global add yalc
132132 - name : yalc publish for react-on-rails
133- run : yalc publish
133+ run : yarn yalc publish
134134 - name : Install Ruby Gems for package
135135 run : |
136136 bundle lock --add-platform 'x86_64-linux'
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def add_yarn_relative_install_script_in_package_json
5050 package_json = File . join ( destination_root , "package.json" )
5151 contents = JSON . parse ( File . read ( package_json ) )
5252 contents [ "scripts" ] ||= { }
53- contents [ "scripts" ] [ "postinstall" ] = "yarn yalc link react-on-rails"
53+ contents [ "scripts" ] [ "postinstall" ] = "yalc link react-on-rails"
5454 File . open ( package_json , "w+" ) { |f | f . puts JSON . pretty_generate ( contents ) }
5555 end
5656 end
You can’t perform that action at this time.
0 commit comments