ci: avoid installing node modules again

By default `bin/rails assets:precompile` will run `yarn install` again.

The suggested workaround is to remove `bin/yarn` before running the
task.

See https://github.com/rails/webpacker/issues/405
This commit is contained in:
Pierre de La Morinerie 2021-10-26 14:35:18 +02:00
parent d0a6fc4b8e
commit 641f0df712

View file

@ -107,6 +107,7 @@ jobs:
env:
RAILS_ENV: test
run: |
rm bin/yarn
bin/rails assets:precompile --trace
- name: Run tests