Skip to content

Commit

Permalink
ci: avoid installing node modules again
Browse files Browse the repository at this point in the history
By default `bin/rails assets:precompile` will run `yarn install` again.

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

See rails/webpacker#405
  • Loading branch information
kemenaran committed Nov 3, 2021
1 parent d928e1d commit 8f0e3e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ jobs:
env:
RAILS_ENV: test
run: |
rm bin/yarn
bin/rails assets:precompile --trace
- name: Run tests
Expand Down

0 comments on commit 8f0e3e2

Please sign in to comment.