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:
parent
d0a6fc4b8e
commit
641f0df712
1 changed files with 1 additions and 0 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -107,6 +107,7 @@ jobs:
|
|||
env:
|
||||
RAILS_ENV: test
|
||||
run: |
|
||||
rm bin/yarn
|
||||
bin/rails assets:precompile --trace
|
||||
|
||||
- name: Run tests
|
||||
|
|
Loading…
Reference in a new issue